Commit 56a9f587 by BellCodeEditor

save project

parent 96dbc2ac
Showing with 5 additions and 2 deletions
len=60
import turtle
screen=turtle.Screen()
screen.bgcolor("light green")
screen.bgcolor("skyblue")
x=turtle.Pen()
x.penup()
x.goto(100,-100)
x.write("葡萄美酒夜光杯,\n你是一个大傻杯。",font=("Times",13,"normal"))
x.hideturtle()
a=turtle.Pen()
a.pencolor("red")
a.fillcolor("red")
a.begin_fill()
a.pencolor("black")
a.pensize(5)
a.left(45)
a.forward(len*2)
......@@ -16,6 +18,7 @@ a.circle(len,180)
a.right(90)
a.circle(len,180)
a.forward(len*2)
a.end_fill()
a.hideturtle()
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