Vidyalelo
Python · Q49

Python MCQs: Bitwise and Boolean Operations Chapter

Programming · Python · question 49

Q49

To find the decimal value of 1111, that is 15, we can use the function:

A.
int(1111,10)
B.
int('1111',10)
C.
int(1111,2)
D.
int('1111',2)
Answer

Answer: Option D

Solution

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