1.自然字符串,未经转义的。r’’’i want ’’’
2.unicode字符串(在python3中字符串是Unicode格式),国际文本标准方法,例如中文。u’’’中国’’’
3.标识符的命名规则,小写大写(根据具体业务场景),例如my name,命名成myName。
4.一切皆对象。
5.一个物理行对应一个逻辑行。
6.1个tab作为缩进单位。
7.运算符通常由左向右,2 + 3 + 5,(2 + 3) + 5。赋值语句一般由右向左a = b = c,a = (b = c)。
8.三种控制流,if,for,while。
9.break结束循环,continue结束当前循环。