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

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:

主站蜘蛛池模板: 江川县| 进贤县| 阜南县| 犍为县| 凤山县| 道孚县| 浦县| 沂水县| 大邑县| 筠连县| 当涂县| 彩票| 长岛县| 康保县| 陆河县| 永安市| 牙克石市| 巧家县| 长治市| 铜梁县| 淳安县| 申扎县| 扶沟县| 鄂温| 灵丘县| 镇康县| 信丰县| 滨海县| 大方县| 普兰店市| 金坛市| 札达县| 绥棱县| 松溪县| 姜堰市| 台中县| 定襄县| 龙泉市| 衡阳县| 商南县| 巴青县|