Commit 1f454697 by BellCodeEditor

save project

parent ab540e22
Showing with 5 additions and 5 deletions
......@@ -2,20 +2,20 @@
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
len=screen.textinput("提示","你想要多大的爱心呀?")
len=int(len)
# len=screen.textinput("提示","你想要多大的爱心呀?")
# len=int(len)
pen=turtle.Pen()
pen.write("你好\n诺依.用python写\n贺卡真方便,\n我也要用\npython\n写贺卡.--悟空",font=("Times",30,"normal"))
len=60
len=10
pen.penup()
pen.goto(-200,50)
pen.pendown(2*len)
pen.pendown()
pen.pensize(25)
pen.pencolor("red")
pen.left(45)
pen.forward(2)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
......
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