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
What is the result of round(0.5) - round(-0.5)?
A. 1.0
B. 2.0
C. 0.0
D. None of the mentioned
Show Answer
Next Question
Correct Answer:
B
Explanation: Python rounds off numbers away from 0 when the number to be rounded off is exactly halfway through. round(0.5) is 1 and round(-0.5) is -1.
© 2024-2025 Python Circle
Contact
Sponsor
Archive
Sitemap