当我在 Mac OS 中使用 python 3.8.3 尝试此代码时:
from turtle import *
shape("turtle")
我收到此错误:
Traceback (most recent call last):
File "C:\Users\jeeva\Desktop\Tanmay_new\python\pi\Draw_pi\draw_pi.pyw", line 2, in <module>
shape("turtle")
NameError: name 'shape' is not defined
看起来 python 没有调整形状。
侃侃无极
相关分类