10/17/2018

python float decimal expression (tip)

Tip!

print('{} - {:.4f}'.format(11, 0.12314213))

> 11 - 0.1231



No comments:

Post a Comment