Commit 42ca1da4 by BellCodeEditor

save project

parent 07858a54
Showing with 22 additions and 0 deletions
import turtle
p=turtle.Pen()
s=turtle.Screen()
len=int(input("你想要多大的爱心!"))
p.pensize(5)
p.pencolor("red")
p.left(45)
p.forward(2*len)
p.circle(len,180)
p.right(90)
p.circle(len,180)
p.forward(2*len)
p.up()
p.goto(100,-100)
p.write("你是SB",font=("宋体",30))
s.bgcolor("pink")
p.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