Commit 4e5aafb0 by BellCodeEditor

save project

parent fd5fbe20
Showing with 4 additions and 3 deletions
......@@ -3,7 +3,7 @@ import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor('blue')
len=50
pen.write('Hi,诺依~\n用python写电字贺卡真是太有趣啦~\n我也喜欢python~')
pen.hideturtle()
pen.up()
......@@ -12,9 +12,9 @@ pen.down()
pen.pencolor('red')
pen.pensize(10)
pen.left(45)
pen.forward(2*50)
pen.forward(2*len)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.forward(2*len)
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