Commit 404e6c04 by BellCodeEditor

auto save

parent c256c561
Showing with 25 additions and 0 deletions
num = 9
float_num = 3.1415926
name = "悟空"
goods = ["雪碧", "可口可乐", "咖啡"]
print(type(num))
print(type(float_num))
print(type(name))
print(type(goods))
\ No newline at end of file
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