Commit 618023a6 by BellCodeEditor

auto save

parent 62c56db0
Showing with 4 additions and 4 deletions
import turtle import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen() pen=turtle.Pen()
pen.write(" 春日\n 【宋】朱熹\n胜日寻芳泗水滨,\n无边光景一时新。\n等闲识得东风面,\n万紫千红总是春。\n",font=("Times",20,"normal"))# pen.hideturtle() pen.write("你好.",font=("Times",30,"normal"))
len=60 pen.hideturtle()
pen.penup() pen.penup()
pen.goto(100,100) pen.goto(100,100)
pen.pendown() pen.pendown()
...@@ -12,6 +14,4 @@ pen.forward(2*len) ...@@ -12,6 +14,4 @@ pen.forward(2*len)
pen.circle(len,180) pen.circle(len,180)
pen.right(90) pen.right(90)
pen.circle(len,180) pen.circle(len,180)
pen.forward(2*len)
turtle.done() 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