Commit ce73aaf9 by BellCodeEditor

save project

parent 47f806b9
Showing with 21 additions and 0 deletions
from turtle import *
screen = Screen()
screen.bgcolor('pink')
ll = int(screen.textinput("爱心的大小","你想要多大的爱心?"))
pen = Pen()
pen.hideturtle()
pen.penup()
pen.goto(100,-100)
pen.write("你好啊!\n 诺伊",font=('Times',30,'normal'))
pen1 = Pen()
pen1.hideturtle()
pen1.pencolor('red')
pen1.pensize(5)
pen1.left(45)
pen1.forward(ll*2)
pen1.circle(ll,180)
pen1.right(90)
pen1.circle(ll,180)
pen1.forward(ll*2)
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