Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how print 2 decimal in python

for i in range(10):
    j=i*0.1
    print('%0.2f' %j)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #decimal #python
ADD COMMENT
Topic
Name
9+8 =