Commit c7ad6466 by BellCodeEditor

save project

parent b1fa31c1
Showing with 6 additions and 4 deletions
import turtle
screen=turtle.Screen()
len=turtle.textinput("你想要多大的爱心","你想要多大的爱心")
size=int(len)
screen.bgcolor("blue")
pen1=turtle.Pen()
pen1.penup()
......@@ -9,11 +11,11 @@ pen1.write("你好\n诺依",font=("Times",30,"normal"))
pen1.hideturtle()
pen=turtle.Pen()
pen.right(-45)
pen.forward(100)
pen.circle(50,180)
pen.fd(size)
pen.circle(size,180)
pen.right(90)
pen.circle(50,180)
pen.fd(100)
pen.circle(size,180)
pen.fd(size)
......
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