Commit 3a267a4b by BellCodeEditor

save project

parent 2d676093
Showing with 14 additions and 6 deletions
import turtle
screen=turtle.Screen()
screen=bgcolor("light blue")
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-50)
pen.write("祝你生日快乐",font=("Times",25,"normal"))
pen.hideturtle()
a=turtle.Pen()
# a.write("xhxjxj1",font=("Times",20,"normal"))
# a.hideturtle()
a.color("red")
a.pencolor("red")
a.pensize(20)
a.begin_fill()
a.left(45)
a.fd(100)
a.circle(50,180)
a.rt(90)
a.circle(50,180)
a.fd(100)
a.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