MicroPython基础
MicroPython基础变量直接赋值连续赋值数字类型NumberListString 字符串Tuple 元组Dictionary 字典运算算术运算位运算成员运算条件语句循环语句whilefor函数定义函数调用函数
变量
直接赋值
chapter = 1
name = "HaaS"
time = 12.3
binnum = 0b11110000
连续赋值
chapter = name = time = 1
print(name)
chapter, name, time = 1, "HaaS",
原创
2021-06-27 20:41:50 ·
498 阅读 ·
0 评论