Commit 4540483f by BellCodeEditor

save project

parent f4251d3f
Showing with 3 additions and 7 deletions
import turtle import turtle
pen = turtle.Pen()
pen = turtle.Turtle()
pen.color('sienna') pen.color('sienna')
# 画布大小
w = turtle.Screen() w = turtle.Screen()
w.bgcolor('wheat') # wheat小麦 w.bgcolor('wheat')
# 移动到起点
pen.left(90) pen.left(90)
pen.up() pen.up()
pen.backward(150) # 后退 pen.backward(150)
pen.down() pen.down()
pen.forward(100) pen.forward(100)
pen.right(30) pen.right(30)
......
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