来源:蜘蛛抓取(WebSpider)
时间:2023-10-04 12:30
标签:
草图大师画五角星
import turtle
count = 1
while count <= 5:
turtle.forward(100)
turtle.right(144)
count += 1
turtle.pendown()
turtle.left(36)
count = 1
while count <= 5:
turtle.left(72)
turtle.backward(62.5)
count += 1
turtle.pendown()