Commit 55f59a36 by BellCodeEditor

save project

parent 85fd0528
Showing with 22 additions and 0 deletions
import turtle
import turtle
screen=turtle.Screen()
pen=turtle.Pen()
len=turtle.textinput("爱心大小","请输入")
len=int(len)
screen.bgcolor("light blue")
pen.color("red")
pen.left(45)
pen.forward(len*2)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(len*2)
pen.penup()
pen.goto(100,100)
pen.write("114514\ngcsffxgb.",font=("Times",30,"normal"))
pen.hideturtle()
turtle.done()
\ No newline at end of file
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