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

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:

主站蜘蛛池模板: 张掖市| 杭锦旗| 鹤峰县| 沂水县| 连平县| 绍兴县| 湖州市| 武隆县| 江孜县| 内丘县| 禄劝| 策勒县| 北京市| 陆丰市| 永顺县| 农安县| 宾川县| 渝中区| 双峰县| 读书| 马鞍山市| 焦作市| 芦溪县| 丹寨县| 科技| 湖南省| 盐亭县| 遵义县| 奇台县| 项城市| 昭苏县| 长阳| 新郑市| 定南县| 开鲁县| 富平县| 拉孜县| 鹤峰县| 尼勒克县| 固原市| 社会|