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
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)
Show Answer
Next Question
Correct Answer:
D
Explanation: The expression int('1111',2) gives the result 15. The expression int('1111', 10) will give the result 1111.
© 2024-2025 Python Circle
Contact
Sponsor
Archive
Sitemap