Vidyalelo
Python · Q59

Formatting and Decorators

Programming · Python · question 59

Q59

What is the output of the code: print(":.2f".format(3.14159))?

A.
3.14
Answer
B.
3.141
C.
3
D.
3.14159

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board