Examveda

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

A. 34.00

B. 34.0000

C. 34.000000

D. 34.00000000

Answer: Option C


This Question Belongs to Python Program >> Formatting And Decorators

Join The Discussion

Related Questions on Formatting and Decorators