![Python Data Structures and Algorithms](https://wfqqreader-1252317822.image.myqcloud.com/cover/153/36701153/b_36701153.jpg)
上QQ阅读APP看书,第一时间看更新
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:
![](https://epubservercos.yuewen.com/CC12CE/19470408801644306/epubprivate/OEBPS/Images/5.jpg?sign=1738884099-GVgtM1EJkljt1HQCjQDK6QresJVoW4Fq-0-81dc428344fd2302b82268d538505093)