DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
print 2 decimal places python
print
(
"{0:.2f}"
.
format
(
sum
(
query_marks
)
/
len
(
query_marks
)
)
)
Source by www.kite.com #
PREVIOUS
NEXT
Tagged:
#print
#decimal
#places
#python
ADD COMMENT
Topic
COMMENT
Name
4+2 =
Submit