Commit 988f3b69 by BellCodeEditor

save project

parent a50ceeec
Showing with 19 additions and 0 deletions
import turtle
screen=turtle.Screen
pen=turtle.Pen()
pen.penup()
len=screen.int(textinput('爱心大小''1~100之间的数'))
pen.goto(100,-100)
pen.write("你好\n旅行者",font=("Times",30,"normal"))
pen.hideturtle()
len=50
tutle.done()
pen.pensize(8)
pen.pencolor('red')
pen.left(45)
pen.forward(len*2)
pen.circle(50,180)
pen.right(90)
pen.circle(len,180)
pen.forward(100)
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