Precision in python,print('{0:.2f}'.format(your_number))