Vidyalelo
Python · Q51

Formatting and Decorators

Programming · Python · question 51

Q51

What will be the output of the following Python code? hex(255), int('FF', 16), 0xFF

A.
[0xFF, 255, 16, 255]
B.
('0xff', 155, 16, 255)
C.
Error
D.
('0xff', 255, 255)
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board