Commit 3fb8c3e5 by BellCodeEditor

auto save

parent 0b45e54c
Showing with 15 additions and 0 deletions
import turtle
pen = turtle.Pen()
pen.pencolor("red")
pen.pensize(5)
s = turtle.Screen()
a = int(s.textinput("提示","你要多大的爱心啊:"))
pen.left(135)
pen.forward(a)
pen.circle(-a/2,180)
pen.left(90)
pen.circle(-a/2,180)
pen.forward(a)
s.bgcolor('blue')
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