python round to nearest positive number code example Example: rounding numbers in python >>> round(2.5) 2