Commit b43caa23 by BellCodeEditor

save project

parent cc8cf806
Showing with 9 additions and 1 deletions
import turtle import turtle
len=60
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,0) pen.goto(100,0)
pen.write("你好啊,\n诺伊",font=("Times",18,"normal")) pen.write("你好啊,\n诺伊",font=("Times",18,"normal"))
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light yellow") screen.bgcolor("purple")
pen.hideturtle() pen.hideturtle()
# turtle.done() # turtle.done()
# 文字 # 文字
...@@ -20,3 +21,10 @@ pen1.forward(100) ...@@ -20,3 +21,10 @@ pen1.forward(100)
pen1.hideturtle() pen1.hideturtle()
turtle.done() turtle.done()
# 图案 # 图案
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
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