官术网_书友最值得收藏!

Numerics

Python numeric objects are basically numbers. With the exception of Boolean, the numeric types of int, long, float, and complex are all signed, meaning they can be positive or negative. Boolean is a subclass of the integer that can be one of two values: 1 for True, and 0 for False. The rest of the numeric types are differentiated by how precise they can represent the number; for example, int are whole numbers with a limited range while long are whole numbers with unlimited range. Float are numbers using the double-precision representation (64-bit) on the machine.

主站蜘蛛池模板: 黎城县| 兴文县| 自治县| 彩票| 景东| 会泽县| 宜宾市| 禹城市| 通城县| 兴国县| 霸州市| 台湾省| 姚安县| 库伦旗| 孟州市| 鸡西市| 通山县| 黄大仙区| 雷州市| 伊宁县| 安康市| 太仆寺旗| 恩施市| 富顺县| 基隆市| 万荣县| 安平县| 青海省| 若尔盖县| 綦江县| 龙里县| 聂拉木县| 怀集县| 霍邱县| 泽州县| 乐业县| 隆德县| 宣汉县| 安丘市| 抚宁县| 甘洛县|