Examveda

What will be the output of the following Python code?
print('{0:.2%}'.format(1/3))

A. 0.33

B. 0.33%

C. 33.33%

D. 33%

Answer: Option C


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Related Questions on Strings in Python