Home » Programming Language (coding) » Python MCQ » What is the result of round(0.5) – round(-0.5)?

What is the result of round(0.5) – round(-0.5)?

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

Correct Answer: Option B. 2.0 

Leave a Reply

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

Solve : *
17 + 8 =