I was making this code
import math
number1 = input("Enter a number: ")
number2 = input("Enter a number: ")
result = math.lcm(int(number1), int(number2))
print(result)
when I got the error in the title. This works in the shell and even code as simple as
import math
math.lcm(10, 20)
gives me the error.