Commit 3e06d4c9 by BellCodeEditor

save project

parent 4ab1757a
Showing with 9 additions and 6 deletions
......@@ -2,18 +2,20 @@ import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
penSB=turtle.Pen()
penSB1.pencolor("blue")
penSB.pencolor("blue")
penSB.pen()
penSB.up()
penSB.goto(100,-100)
penSB.write("Hi,诺伊~\n用python写贺卡真是忒有趣了啦~\n我也喜欢python~\n——悟空”,font=("times",12,"normal"))
penSB.write("Hi,诺伊~\n用python写贺卡真是忒有趣了啦~\n我也喜欢python~\n——悟空",font=("times",12,"normal"))
penSB.hideturtle()
penSB1.pencolor("red")
penSB.pensize(5)
len=61
penSB1.left(45)
penSB1.forward(100)
penSB1.circle(50,180)
penSB1.forward(2*len)
penSB1.circle(len,180)
penSB1.right(90)
penSB1.circle(50,180)
penSB1.forward(100)
penSB1.circle(len,180)
penSB1.forward(2*len)
penSB1.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