Vidyalelo
Python · Q26

Formatting and Decorators

Programming · Python · question 26

Q26

The output of the two codes shown below is the same. i. '0:.2f'.format(1/3.0) ii. '%.2f'%(1/3.0)

A.
True
Answer
B.
False

Answer: Option A

Solution

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