Commit 0fccf7f2 by BellCodeEditor

save project

parent 9c51957f
Showing with 7 additions and 6 deletions
import turtle import turtle
sb=100
k=turtle.Screen() k=turtle.Screen()
k.bgcolor("red") k.bgcolor("red")
j=turtle.Pen() j=turtle.Pen()
...@@ -6,14 +7,14 @@ j.penup() ...@@ -6,14 +7,14 @@ j.penup()
j.goto(200,100) j.goto(200,100)
j.write("你\n\n啊",font=("Times",20,"normal")) j.write("你\n\n啊",font=("Times",20,"normal"))
a=turtle.Pen() a=turtle.Pen()
a.pencolor("blue") a.pencolor("yellow")
a.pensize(20) a.pensize(5)
a.left(45) a.left(45)
a.forward(100) a.forward(sb)
a.circle(50,180) a.circle(sb/2,180)
a.right(90) a.right(90)
a.circle(50,180) a.circle(sb/2,180)
a.forward(100) a.forward(sb)
a.hideturtle() a.hideturtle()
j.hideturtle() j.hideturtle()
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