Examveda

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: Option D


This Question Belongs to Python Program >> Formatting And Decorators

Join The Discussion

Related Questions on Formatting and Decorators