Commit 7be2a082 by BellCodeEditor

save project

parent 00ee5636
Showing with 4 additions and 2 deletions
import turtle
import turtle
import random
s = turtle.Screen() #创建画布
s.bgcolor("pink")
d = int( s.textinput("111","请输入❤的大小") )
p1 = turtle.Pen()
p1.penup()
......@@ -21,7 +23,7 @@ def hy(u):
p2.forward(u)
p2.hideturtle()
hy(150)
hy(d)
......
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