Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What will be the output of the following Python expression?
print(4.00/(2.0+2.0))

What will be the output of the following Python expression?
print(4.00/(2.0+2.0))
a) Error
b) 1.0
c) 1.00
d) 1

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

Join The Discussion