Articles → Python → Round function in python

Round function in python






Purpose





Syntax


round(number, n)









Example


import math
print(round(math.pi,3))





Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Monday, April 22, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250