python code for round to two decimals
we know that Python round() function requires two arguments. First is the number to be rounded. And Second argument decides the number of decimal places to which it is rounded. So to round the number to 2 decimals, give second argument as 2. If third digit after decimal point is greater than 5, then … Read more