Commit 4888585d by BellCodeEditor

save project

parent 56ff955d
Showing with 3 additions and 2 deletions
...@@ -5,12 +5,13 @@ pen=turtle.Pen() ...@@ -5,12 +5,13 @@ pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
screen.bgcolor("grey") screen.bgcolor("grey")
pen.write("......",font=("Times",30,"normal")) pen.write("牛b",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(6) pen1.pensize(6)
pen1.pencolor("black") pen1.pencolor("black")
len=100 len=screen.textinput("提示","你要多大的爱心呀?")
len=float(len)
pen1.left(45) pen1.left(45)
pen1.forward(2*len) pen1.forward(2*len)
pen1.circle(len,180) pen1.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