?
The output of the two codes shown below is the same.
The output of the two codes shown below is the same.
i. '{0:.2f}'.format(1/3.0)
ii. '%.2f'%(1/3.0)
i. '{0:.2f}'.format(1/3.0)
ii. '%.2f'%(1/3.0)
Join the Discussion
Login to post a comment or share your explanation.
Login