Answers for "print value upto two digit precision in python"

2

print 2 decimal places python

print("{0:.2f}".format(sum(query_marks)/len(query_marks)))
Posted by: Guest on May-09-2020
0

printing float number python

x = 1.1234567898
print("%.10f" % x)
Posted by: Guest on April-13-2020

Code answers related to "print value upto two digit precision in python"

Python Answers by Framework

Browse Popular Code Answers by Language