Discussion :: Python MCQs
-
What is the value of this expression:bin(10-2)+bin(12^4)
Answer : Option D
Explanation :
The output of bin(10-2)= 0b1000 and that of bin(12^4) is ob1000. Hence the output of the above expression is: 0b10000b1000.
Be The First To Comment