aproximate number to a module python code example
Example 1: round python with list
a_list = [1.234, 2.345, 3.45, 1.45]
round_to_whole = [round(num) for num in a_list]
print(round_to_whole)
Example 2: rounding numbers in python
>>> round(2.5)
2