0
from turtle import *
color('red', 'yellow')
begin_fill()
while True:
forward(200)
left(170)
if abs(pos()) < 1:
break
end_fill()
done()
我不明白這部分代碼。 if abs(pos()) < 1:
這是什麼意思?繪製烏龜模塊
謝謝你的幫助。 –
如果您的回答標記爲已接受。 – orvi