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

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.

主站蜘蛛池模板: 永善县| 舞钢市| 防城港市| 乐业县| 黄石市| 文成县| 凉山| 招远市| 平顺县| 通山县| 阿荣旗| 双柏县| 深泽县| 辽宁省| 荆州市| 蓬莱市| 平度市| 连南| 辉南县| 辉南县| 太保市| 台江县| 五原县| 渭源县| 呼图壁县| 东乌珠穆沁旗| 砚山县| 邛崃市| 石棉县| 兴义市| 邻水| 泾阳县| 进贤县| 延庆县| 左贡县| 孝昌县| 阳信县| 吉水县| 梁山县| 敖汉旗| 孟津县|