@WillireamAngel
2017-02-15T09:18:55.000000Z
字数 275
阅读 1103
Learn python the hard way
python
一、准备工作
- # -- coding: utf-8 --
utf-8编码注解,置于Python脚本最上面
备注:#的英文名称:octothorpe(八角帽),pound(英镑),hash(电话#键),mesh(网)
- #的作用:
注释代码或者临时禁用
- 数字和数学计算:
+plus 加号
-minus 减号
/slash 斜杠
*asterisk 星号
% percent 百分号
< less-than 小于号
“>” greater-than 大于号
<= less-than-equal 小于等于号
“>=” greater-than-equal 大于等于号