Vidyalelo
Python · Q147

MCQs for Python Strings: Exam

Programming · Python · question 147

Q147

Suppose x is 345.3546, what is format(x, "10.3f") (_ indicates space).

A.
__345.355
B.
___345.355
Answer
C.
____345.355
D.
_____345.354

Answer: Option B

Solution

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