Commit 94633ae5 by BellCodeEditor

save project

parent d6e64b09
Showing with 5 additions and 3 deletions
......@@ -2,13 +2,15 @@
import turtle
screen=turtle.Screen()
screen.bgcolor("blue")
lozevesi=screen.textinput("爱心","大小")
len=int(lozevesi)
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("Hi,诺依\n使用turtle实在太好了",font=("Times",20,"normal"))
pen.hideturtle
pen1=turtle.Pen()
len=60
screen
pen1.pensize(5)
pen1.pencolor("red")
pen1.left(45)
......@@ -18,4 +20,4 @@ pen1.right(90)
pen1.circle(len,180)
pen1.forward(len*2)
pen1.hideturtle
turtle.done
\ No newline at end of file
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