第三个构造函数采用了字符串“100”并创建了以10为基数的整数值(常见的十进制系统)。
The third constructor takes the string of characters "100" and creates an integer in base 10 (the familiar decimal system).
Python支持不同进制的整型字符串文本—八进制、十进制(最明显的!)
Python supports string literals of integers of different bases-octal, decimal (obviously!), and hexadecimal-and now binary has been added.
十进制格式,说它需要一个字符串?
应用推荐