Question
What is the result of round(0.5) “ round(-0.5)?
Answer: Option B
Was this answer helpful ?
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.
Was this answer helpful ?
More Questions on This Topic :
Question 2. All keywords in Python are in ....
Question 3. Which of these in not a core datatype? ....
Submit Solution