當(dāng)我在 Mac OS 中使用 python 3.8.3 嘗試此代碼時(shí):from turtle import *shape("turtle")我收到此錯(cuò)誤: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 沒有調(diào)整形狀。
python turtle 名稱錯(cuò)誤:形狀未定義
慕標(biāo)琳琳
2023-02-07 15:51:04