Answer to Question #36746 in Python for Satyam Negi
How to print out no more than two decimal digits of accuracy.
Like 32.32 instead of 32.321523844
1
2013-11-29T08:28:02-0500
Use >> round(32.321523844,2)
https://docs.python.org/2/library/functions.html#round
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
Python
Comments
Leave a comment