2019.5.8 Python程序格式 和 海龟绘图

1.Python 通过缩进而不是{}来表示程序块 2.Python 区分大小写 3.注释:a.行注释用 # 表示               b.段注释用 三个连续 单引号     4.import turtle #导入turtle模块 turtle.showturtle()   #显示箭头 turtle.write("alla")   #写字符串 turtle.forward(300) #前进3
相关文章
相关标签/搜索