Run
import math x = math.inf result = math.trunc(x) print('trunc(x) :', result)
Output