adplus-dvertising
frame-decoration

Question

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

a.

[0xFF, 255, 16, 255]

b.

(‘0xff’, 155, 16, 255)

c.

Error

d.

(‘0xff’, 255, 255)

Posted under Python

Answer: (d).(‘0xff’, 255, 255)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the following code?