当前位置:  首页>> 技术小册>> Python合辑1-Python语言基础

  • 浮点数有溢出
  • 整数不限制大小
  1. print(810 ** 106) # 可输出正确结果
  2. print(810.0 ** 106) # OverflowError: (34, 'Result too large')