1 2 3 4 5 6 7 8 9 10 11
import math math.gcd(1.5, 2) """ TRACEBACK: Traceback (most recent call last): File "math__gcd_float_error.py", line 3, in <module> math.gcd(1.5, 2) ~~~~~~~~~~~~~~~~ TypeError: 'float' object cannot be interpreted as an integer """