Commit 8b7ff2c7 by BellCodeEditor

save project

parent a50ceeec
Showing with 19 additions and 0 deletions
import turtle
import turtle
pen=turtle.Pen()
pen1=turtle.Screen()
pen1.bgcolor("red")
pen2=turtle.Pen()
pen2.penup()
pen2.goto(100,-100)
pen2.write("你好呀!",font=("Times",30,"normal"))
pen.pencolor("blue")
len=input("请问你要多大的爱心")
pen.left(45)
pen.forward(2*int(len))
pen.circle(int(len),180)
pen.right(90)
pen.circle(int(len),180)
pen.forward(2*int(len))
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