Vidyalelo
Python · Q28

Python MCQs: Bitwise and Boolean Operations Chapter

Programming · Python · question 28

Q28

What is the value of the following Python expression? bin(0x8)

A.
'0bx1000'
B.
8
C.
1000
D.
'0b1000'
Answer

Answer: Option D

Solution

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