Commit dd85f2a2 by BellCodeEditor

save project

parent a075876f
Showing with 15 additions and 2 deletions
......@@ -2,14 +2,27 @@ import turtle
pen = turtle.Turtle()
pen.color('sienna')
# 画布大小
l=100
s=10
w = turtle.Screen()
w.bgcolor('wheat') # wheat小麦
# 移动到起点
pen.pensize(s)
pen.left(90)
pen.up()
pen.backward(150) # 后退
pen.down()
pen.forward(l)
l/=2
s/=1.5
pen.pensize(s)
pen.left(30)
pen.forward(l)
pen.backward(l)
pen.right(60)
pen.forward(l)
pen.backward(l)
pen.setheading(0)
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