import this (python是最好用的语言,最好学一下)
处理矩阵很方便(图像、文字)
1.变量
变量名=值 保持最后一次的值
message=“hello python”
没有const(大写字母和下划线结合默认就是常量)
2. 输出
3.数据类型
只有字符串(没有单个字符)
列表(可以改)
元祖(不可以改)
集合
字典 key(必须是同种类型):value(可以是不同类型) eg:a:10
b:20
bbaacab
4.type 判断类型
5. str[0:6] 从零到六遍历
6.字符串操作
+ 连接
x** n x的n 平方
7.format()
print(‘hello {} i'm {}, format())
8.if: eilf:
9. 注释用# ''' '''



