1 2 3 4 5
# math.trunc rounds toward zero and returns int. import math print(math.trunc(2.9)) print(math.trunc(-2.9))