PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Blog available for sell
This blog is available for sale. Please 'contact us' if interested.
Advertise with us
Python Multiple Choice Questions
Which of the following expressions results in an error?
A. int(1011)
B. int('1011',23)
C. int(1011,2)
D. int('1011')
Show Answer
Next Question
Correct Answer:
C
Explanation: The expression int(1011,2) results in an error. Had we written this expression as int('1011',2), then there would not be an error.
© 2024-2025 Python Circle
Contact
Sponsor
Archive
Sitemap