geting result upto 5 decimal palces in python code example
Example: print upto 1 decimal place python
print("{:.1f}".format(number)) # Python3
print "%.1f" % number # Python2
print("{:.1f}".format(number)) # Python3
print "%.1f" % number # Python2