Basic types, expressions, and variables and their assignment
Any data that can be referred to in a Python code is considered an object. Objects are used to represent everything from atomic data, such as numbers, to very complex data structures, such as multidimensional arrays, database connections, and documents in several formats.
At the root of the object hierarchy are the numeric data types. These include the following:
- Integers: There are three types of integers in Python.
- Plain integers: They are represented in the native architecture, which, in most systems, will be either 32- or 64-bit signed values.
- Long integers: They are integers with unlimited range, subject to available memory. Most of the time, the programmer does not need to be concerned ...