Commit 4747594e by BellCodeEditor

save project

parent 94f1f298
Showing with 25 additions and 1 deletions
import turtle
pen.turtle.pen()
pen.pensize(30)
pen.pencolor("red")
pen.left(45)
pen.forward(100)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.hideturtle()
pen.penup()
setheading(90)
forward(50)
pen.pendown()
pen.turtle.pen()
pen.pensize(30)
pen.pencolor("red")
pen.left(45)
pen.forward(100)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.hideturtle()
\ No newline at end of file
...@@ -5,7 +5,7 @@ screen.bgcolor("light blue") ...@@ -5,7 +5,7 @@ screen.bgcolor("light blue")
len=screen.textinput("100","100") len=screen.textinput("100","100")
len=int(len) len=int(len)
pen=turtle.Pen() pen=turtle.Pen()
pen.write("古原草送别\n 【唐】孟浩然\n离离原上草,\n一岁一枯荣。\n野火烧不尽,\n春风吹又生。\n",font=("Times",30,"normal")) pen.write("古原草送别\n 【唐】白居易\n离离原上草,\n一岁一枯荣。\n野火烧不尽,\n春风吹又生。\n",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
len=60 len=60
pen.penup() pen.penup()
......
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