Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

print 2 decimal places python

print("{0:.2f}".format(sum(query_marks)/len(query_marks)))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #decimal #places #python
ADD COMMENT
Topic
Name
7+9 =