Here is a list of the most common Python types.
For a full list, see the
types module below.
| Type name | Values | Examples |
|---|---|---|
| Integers in the range
[-2147483648, 2147483647]. See
the
|
|
| Integers of any size, limited only by
total memory size. See
the
|
|
| Floating-point numbers. See
the
|
|
| Complex numbers. See
the
|
|
| Ordinary strings of ASCII characters.
If you use three sets of quotes around a string, it
can extend over multiple lines. See
the
|
|
| Strings of Unicode characters, an
extended international character set. See
the
|
|
| A sequence of values that is mutable, that is, its contained values can be changed, added, or deleted. See list type below. |
|
| A tuple is a sequence of values that is immutable (cannot be modified). See tuple type below. |
|
|
|
|