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

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:

主站蜘蛛池模板: 胶州市| 嘉义市| 定南县| 芒康县| 浦县| 乌兰县| 宣城市| 芮城县| 湖口县| 祁连县| 宜城市| 行唐县| 安仁县| 彰武县| 泸定县| 宝坻区| 马鞍山市| 永登县| 淄博市| 灵宝市| 沾益县| 昌吉市| 霍山县| 孝昌县| 南召县| 信阳市| 怀化市| 双鸭山市| 大英县| 称多县| 城固县| 从江县| 朝阳区| 襄汾县| 元谋县| 台江县| 永州市| 蚌埠市| 牡丹江市| 门头沟区| 永平县|