adplus-dvertising
frame-decoration

Question

What is the output of the following expression if the value of x is 34?
print(“%f”%x)

a.

34.00

b.

34.0000

c.

34.000000

d.

34.00000000

Posted under Python

Answer: (c).34.000000

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the following expression if the value of x is 34?