数字
1,加减乘除:+,-,*,/
2,平方:**
3,立方:**3
4,字符串转换:str(数字)
5,浮点数:带小数点 0.2
Python编程建议
import this
>>> importthis
The Zen of Python, by Tim Peters
Beautifulisbetter than ugly.
Explicitisbetter than implicit.
Simpleisbetter than complex.
Complexisbetter than complicated.
Flatisbetter than nested.
Sparseisbetter than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should neverpasssilently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way maynot be obviou