Commit 95dd2db1 by BellCodeEditor

save project

parent 10ac1e30
Showing with 12 additions and 1 deletions
import turtle
import random
pen = turtle.Turtle()
pen.color('sienna')
# 画布大小
......@@ -11,7 +11,18 @@ pen.left(90)
pen.up()
pen.backward(150) # 后退
pen.down()
#
pen.forward(100)
pen.right(30)
pen.forward(50)
pen.up()
pen.backward(50)
pen.left(60)
pen.down()
pen.forward(50)
pen.up()
pen.backward(50)
pen.right(30)
pen.backward(100)
pen.down()
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