Commit 32919652 by BellCodeEditor

save project

parent 654bc3ba
Showing with 22 additions and 0 deletions
import turtle
screen=turtle.Screen()
ewq=screen.textinput("提示","多大的心")
ewq=int(ewq)
screen.bgcolor("pink")
p=turtle.Pen()
p.penup()
p.goto(100,-100)
p.pendown()
p.write("你好",font=("Times",30,"normal"))
p.hideturtle()
p1=turtle.Pen()
p1.pencolor("red")
p1.left(45)
p1.forward(2*ewq)
p1.circle(ewq,180)
p1.right(90)
p1.circle(ewq,180)
p1.forward(2*ewq)
p1.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