Commit 4799ca5f by BellCodeEditor

save project

parent 4e2e5174
Showing with 6 additions and 5 deletions
len=60
import turtle import turtle
P=turtle.Pen() P=turtle.Pen()
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("black") screen.bgcolor("blue")
P.penup() P.penup()
P.goto(-100,-144) P.goto(-100,-144)
P.write("吾问无为谓......\n吾问无为谓......\n",font=("Times",20,"normal")) P.write("吾问无为谓......\n吾问无为谓......\n",font=("Times",20,"normal"))
...@@ -10,11 +11,11 @@ p1=turtle.Pen() ...@@ -10,11 +11,11 @@ p1=turtle.Pen()
p1.pensize(10) p1.pensize(10)
p1.pencolor("white") p1.pencolor("white")
p1.left(45) p1.left(45)
p1.forward(100) p1.forward(len*2)
p1.circle(50,180) p1.circle(len,180)
p1.right(90) p1.right(90)
p1.circle(50,180) p1.circle(len,180)
p1.forward(100) p1.forward(len*2)
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