Commit 01dddc58 by BellCodeEditor

save project

parent e562acfe
Showing with 7 additions and 4 deletions
import turtle import turtle
# pen=turtle.Pen()
# pen.write("妈妈你辛苦了!",font=("Times",1000,"normal"))
# turtle.done()
pen=turtle.Pen() pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("pink")
pen.pensize(50) pen.pensize(50)
pen.pencolor("red") pen.pencolor("red")
pen.left(45) pen.left(45)
pen.pendown()
pen.forward(100) pen.forward(100)
pen.circle(50,180) pen.circle(50,180)
pen.right(90) pen.right(90)
pen.circle(50,180) pen.circle(50,180)
pen.forward(100) pen.forward(100)
pen.penup()
pen.goto(200,-300)
pen.write("妈妈你辛苦了!",font=("Times",20,"normal"))
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.done()
\ 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