r = move(100, 100, 60, math.pi/6); Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'math' is not defined
执行这一句的时报这个错 是怎么回事?
只知道说的是math变量未定义
第一行
import math
Sign in to make a reply
葡萄凉粉
r = move(100, 100, 60, math.pi/6); Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'math' is not defined
执行这一句的时报这个错 是怎么回事?