Commit e68ea8bd by BellCodeEditor

save project

parent 4c08ac3c
Showing with 13 additions and 1 deletions
import turtle import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen() pen=turtle.Pen()
pen.penup()
pen.goto(-100.0)
pen.write("生日快乐",font=("Times",30,"normal"))
pen.pensize(5) pen.pensize(5)
pen.pencolor("red") pen.pencolor("red")
pen.left(45) pen.left(45)
pen.forward(100) pen.forward(100)
pen.circle(50,180) pen.circle(50,180)
pen.right(45) pen.right(90)
pen.circle(50,180) pen.circle(50,180)
pen.forward(100) pen.forward(100)
pen.hideturtle() pen.hideturtle()
...@@ -31,3 +36,10 @@ turtle.done() ...@@ -31,3 +36,10 @@ 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