how to round digits to 10^-3 in python code example Example: rounding numbers in python >>> round(2.5) 2