Commit e77d88bc by BellCodeEditor

auto save

parent d5739bd2
Showing with 78 additions and 0 deletions
import turtle
import turtle
#红色国旗面
turtle.penup()
turtle.goto(-300,-200)
turtle.pendown()
turtle.color("red")
turtle.begin_fill()
turtle.forward(600)
turtle.left(90)
turtle.forward(400)
turtle.left(90)
turtle.forward(600)
turtle.left(90)
turtle.forward(400)
turtle.left(90)
turtle.end_fill()
#大五角星
turtle.color("gold")
turtle.begin_fill()
turtle.penup()
turtle.goto(-260, 120)
turtle.pendown()
for i in range(5):
turtle.forward(120)
turtle.right(144)
turtle.end_fill()
#第1颗小五角星
turtle.color("gold")
turtle.begin_fill()
turtle.penup()
turtle.goto(-120, 160)
turtle.pendown()
for i in range(5):
turtle.forward(40)
turtle.right(144)
turtle.end_fill()
#第2颗小五角星
turtle.color("gold")
turtle.begin_fill()
turtle.penup()
turtle.goto(-80, 120)
turtle.pendown()
for i in range(5):
turtle.forward(40)
turtle.right(144)
turtle.end_fill()
#第3颗小五角星
turtle.color("gold")
turtle.begin_fill()
turtle.penup()
turtle.goto(-80, 60)
turtle.pendown()
for i in range(5):
turtle.forward(40)
turtle.right(144)
turtle.end_fill()
#第4颗小五角星
turtle.color("gold")
turtle.begin_fill()
turtle.penup()
turtle.goto(-120, 20)
turtle.pendown()
for i in range(5):
turtle.forward(40)
turtle.right(144)
turtle.end_fill()
turtle.done()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment