Home » Programming Language (coding) » Python MCQs » 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 

Take Part in Discussion:

Your email address will not be published.

Solve : *
21 + 25 =