Commit d2a187d7 by BellCodeEditor

save project

parent bd53a7d3
Showing with 14 additions and 11 deletions
import turtle import turtle
pen1=turtle.Pen() pen=turtle.Pen()
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("red") screen.bgcolor("light pink")
pen1.goto(-100,0) pen.penup()
pen1.write("再见,\n再也不见!",font=("Times",30,"normal")) pen.goto(100,-100)
pen.write("妈妈,\n生日快乐!",font=("Times",30,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen1.pensize(10) pen1.pensize(10)
pen1.pencolor("yellow") pen1.pencolor("red")
len=60
pen1.left(45) pen1.left(45)
pen1.forward(200) pen1.forward(len*2)
pen1.circle(100,180) pen1.circle(len,180)
pen1.right(90) pen1.right(90)
pen1.circle(100,180) pen1.circle(len,180)
pen1.forward(200) pen1.forward(len*2)
pen1.done() pen1.done()
\ No newline at end of file
pen1.hideturtle()
\ No newline at end of file
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