Commit 31fe3c26 by BellCodeEditor

save project

parent 68bbe22c
Showing with 12 additions and 5 deletions
......@@ -2,15 +2,21 @@
import turtle
screen = turtle.Screen()
screen.bgcolor("light blue")
#pen.write(font=("Times",30,"normal"))
pen1 = turtle.Pen()
pen1.penup()
pen1.goto(100,-100)
pen1.pendown()
pen1.write("诺伊!用Python写电子贺卡!\n 真的太有趣了!",font=("Times",13,"normal"))
pen1.hideturtle()
pen = turtle.Pen()
pen.pensize(5)
pen.color("red")
pen.left(45)
pen.forward(100)
pen.circle(50,180)
len=60
pen.forward(len*2)
pen.circle(len,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.circle(len,180)
pen.forward(len*2)
pen.hideturtle()
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