摘要:
import turtle as t t.color("yellow") #填黄色的线t.fillcolor("yellow") #填充黄色的、填进五星红旗t.begin_fill() #开始填充for i in range(5): t.forward(100) #走100 t.right(144) 阅读全文
摘要:
import turtle as t #动画速度t.speed(0)def star(s,color): #填充笔的颜色 t.pencolor(color) #充满什么颜色 t.fillcolor(color) #开始填充 t.begin_fill() for i in range(5): #移动s 阅读全文