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

Built-in data types

Python data types can be divided into three categories: numeric, sequence, and mapping. There is also the None object that represents a Null, or absence of a value. It should not be forgotten either that other objects such as classes, files, and exceptions can also properly be considered types; however, they will not be considered here.

Every value in Python has a data type. Unlike many programming languages, in Python you do not need to explicitly declare the type of a variable. Python keeps track of object types internally.

Python built-in data types are outlined in the following table:

主站蜘蛛池模板: 西乌珠穆沁旗| 尉犁县| 专栏| 青龙| 林州市| 隆化县| 临安市| 拜城县| 江川县| 渝中区| 宁德市| 成都市| 连山| 蒙山县| 香港 | 湖北省| 常宁市| 曲麻莱县| 肃北| 福鼎市| 洛宁县| 南宁市| 工布江达县| 浦城县| 易门县| 蒲城县| 斗六市| 通渭县| 兴海县| 观塘区| 临洮县| 濮阳县| 上饶县| 沂南县| 霞浦县| 平山县| 墨脱县| 周至县| 茶陵县| 武邑县| 营山县|