Vidyalelo
Python · Q29

Python MCQs: Bitwise and Boolean Operations Chapter

Programming · Python · question 29

Q29

What will be the value of the following Python expression? bin(10-2)+bin(12^4)

A.
0b10000
B.
0b10001000
C.
0b1000b1000
D.
0b10000b1000
Answer

Answer: Option D

Solution

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