Commit 3ac8afc4 by BellCodeEditor

save project

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