标签:enc imp port pen pytho tle loop class forward
import turtle import time # 同时设置pencolor=color1, fillcolor=color2 turtle.color("red", "yellow") turtle.begin_fill()#开始填充 for i in range(50): turtle.forward(200) turtle.left(170) turtle.end_fill()#结束填充 turtle.mainloop()
标签:enc imp port pen pytho tle loop class forward
原文地址:https://www.cnblogs.com/leeing/p/12547515.html