Commit b3791a34 by BellCodeEditor

save project

parent 07858a54
Showing with 21 additions and 0 deletions
import turtle
pen=turtle.Pen()
screen=turtle.screen()
screen.bgcolor("light blue")
Pen.write("你见过凌晨四点\n的洛杉矶吗?",font=("Times",30,"normal"))
turtle.done()
pen.penup()
pen.goto(-100,0)
pen1=turtle.pen()
pen.pensize(5)
pen.pencolor("red")
len=sreen.textinput("你想要多大的爱心呀?")
lovesize=int(len)
pen1.lift(45)
pen1.forward(2*lovesize)
pen1.circle(lovesize,180)
pen1.right(90)
pen1.circle(lovesize,180)
pen1.forward(2*lovesize)
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