Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję+ 1
How to round 20.0 in to 2 floating points in python 2.7??
3 odpowiedzi
+ 1
print '{:.2f}'.format(20.0)
+ 1
so what should be result of rounding 20.0 into 2 floating points?
0
20.00 should be the answer