标签:while color from war rom idt bre tle end
from turtle import *
width(5)
pencolor("green")
fillcolor("violet")
begin_fill()
while True:
forward(100)
right(-60)
forward(100)
right(120)
if abs(pos()) < 1:
break
end_fill()
forward(100)
right(0)
pencolor("purple")
forward(100)
right(60)
forward(100)
right(60)
forward(100)
right(60)
forward(100)
right(60)
forward(100)
right(60)
forward(100)
right(60)
标签:while color from war rom idt bre tle end
原文地址:https://www.cnblogs.com/dxdqy/p/12459601.html