Vidyalelo
Python · Q25

Python MCQs: Bitwise and Boolean Operations Chapter

Programming · Python · question 25

Q25

Which of the following expressions results in an error?

A.
int(1011)
B.
int('1011',23)
C.
int(1011,2)
Answer
D.
int('1011')

Answer: Option C

Solution

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