1 2 3 4 5 6 7 8 9 10 11
import math math.fmod(math.inf, 3) """ TRACEBACK: Traceback (most recent call last): File "math__fmod_inf_error.py", line 3, in <module> math.fmod(math.inf, 3) ~~~~~~~~~~~~~~~~~~~~~~ ValueError: math domain error """