欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

junjie -python变量名

程序员文章站 2023-12-30 16:08:10
...
import turtle
turtle.shape("turtle")
turtle.pensize(5)
turtle.color("red")

# 用一个盒子把这个数据装起来,每次用这个数据的时候打开这个盒子拿里面的数据
# 变量是干什么的
# 变量名的命名:1。变量名是由数字,英文字母,下划线组成的
# 2。不能有标点符号(下划线除外),数字不能作为开头
# abc ftydsjfehiudgbane  a_________b   _123  133bacd   ASBHD   a.b   a-v  你好
# 法无禁止即*: 不建议用 github 不方便交流 , 效率低 , low  大家好 hello 中文编程语言
# 命名技巧: 见名知义
# 驼峰命名法: myNameIs
# 下划线命名法: my_name_is
long = 100
jiaodu= 123
turtle.right(jiaodu)
turtle.forward(long) # 边长
turtle.right(jiaodu)   # 角度
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.right(jiaodu)
turtle.forward(long)
turtle.done()




上一篇:

下一篇: