Commit 72098f1e by BellCodeEditor

save project

parent f495f9b4
Showing with 3 additions and 3 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("purple")
len=screen.textinput("画爱心","你想要多大的爱心")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("你好\n欢迎你.",font=("Times",30,"normal"))
len=50
len=int(len)
pen1=turtle.Pen()
pen1.pensize(5)
pen1.pencolor("red")
......@@ -17,4 +18,4 @@ pen1.circle(len,180)
pen1.forward(len*2)
pen1.hideturtle()
pen1._fillcolor("red")
turtle.done()
\ No newline at end of file
turtle.done()
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