上节课二进制与字符编码(未明白)
print(chr(0b100111001011000))
print(ord('乘'))
python保留字(不能用于python文件命名或参数名)
['False', 'None', 'True', 'and', 'as', 'assert', 'async', 'await', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'nonlocal', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield']
备注:在使用的时候程序会报错。
标识符:就是你在python中使用的变量、函数、类、模块与其他对象,给它们的名称,就是标识符。
标识符规范:1.字母、数字、下换线……
2.不能以数字开头
3.不能是我的保留字
4.我是严格区分大小写的