import turtle turtle.setup(600,400,0,0) turtle.bgcolor('red') turtle.pencolor('yellow') turtle.fillcolor('yellow') turtle.begin_fill() turtle.penup() turtle.goto(-250,75) turtle.pendown() for i in range(5): turtle.forward(100) turtle.right(144) turtle.end_fill() turtle.done()
for循环:用turtle画一颗五角星2
猜你喜欢
转载自www.cnblogs.com/xiefei33--/p/9016775.html
今日推荐
周排行