Report Bug
Qus :

What will be the output of the following Python expression?

print(4.00/(2.0+2.0))

Qus

निम्नलिखित पायथन एक्सप्रेशन का आउटपुट क्या होगा?

print(4.00/(2.0+2.0))


A. Error
B. 1.0
C. 1.00
D. 1


Solution
B. 1.0



Explanation
The result of the expression shown above is 1.0 because print rounds off digits.



Report Bug