Commit eccbea71 by BellCodeEditor

save project

parent 3d7903f5
Showing with 4 additions and 2 deletions
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
len=screen.textinput("100","100") #len=screen.textinput("100","100")
len=int(len) #len=int(len)
pen=turtle.Pen() pen=turtle.Pen()
pen.write("诺依你™他妈\n用pythen写电子贺卡\n真是太傻逼了\n我他妈也喜欢\n——大聪明.",font=("Times",30,"normal")) pen.write("诺依你™他妈\n用pythen写电子贺卡\n真是太傻逼了\n我他妈也喜欢\n——大聪明.",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
...@@ -21,6 +21,8 @@ pen.circle(len,180) ...@@ -21,6 +21,8 @@ pen.circle(len,180)
pen.forward(2*len) pen.forward(2*len)
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(10) pen1.pensize(10)
len=screen.textinput("提示,你想要多大的爱心?")
lovesize=int(len)
pen1.penup() pen1.penup()
pen1.goto(78,-180) pen1.goto(78,-180)
pen1.pendown() pen1.pendown()
......
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