Commit 8f017dca by BellCodeEditor

save project

parent 53039832
Showing with 13 additions and 8 deletions
......@@ -12,16 +12,21 @@
# goto(30,-100)
# write("你干嘛",font=("times",30,"normal"))
# done()
importi turtle
screen=turtle
import turtle
len=30
screen=turtle.Screen()
pen=turtle.Pen()
screen.bgcolor('light blue')
pen.color('red')
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.forward(len*2)
pen.circle(len,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.circle(len,180)
pen.forward(len*2)
pen.penup()
pen.goto(100,100)
pen.
\ No newline at end of file
pen.pencolor("black")
pen.hideturtle
turtle.done()
\ No newline at end of file
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