Home » Programming Language (coding) » Python MCQ » Which of the following expressions results in an error?

Which of the following expressions results in an error?

Which of the following expressions results in an error?

A. int(‘1011’)
B. int(1011,2)
C. int(‘1011’,23)
D. int(1011)

Answer: B. int(1011,2)

Leave a Reply

Your email address will not be published. Required fields are marked *

Solve : *
24 − 10 =