现状:
python2中有四种numbers
- int
- long
- float
- complex
范围: int < long < float < complex
计算之后的结果类型为:
rules NO1: widen numbers ,so they are the same type
现状:
python2中有四种numbers
范围: int < long < float < complex
计算之后的结果类型为:
rules NO1: widen numbers ,so they are the same type