Commit 34cabfa2 by BellCodeEditor

auto save

parent 8ef5337a
Showing with 0 additions and 17 deletions
import turtle
"""
1、导入turtle模块,
2、创建画笔,
3、将画笔设置成海龟的形状,
4、控制画笔向前移动200,
5、并让画布保存在界面
"""
pen=turtle.Pen()
pen.shape("turtle")
pen.forward(200)
pen.left(90)
pen.forward(200)
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