python turtle Name error: shape is not defined

python turtle Name error: shape is not defined

当我在 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 没有重新调整形状。
请帮帮我

看看有没有模块以外的名为turtle.py的文件。重命名并重试