int |
Variable (system-dependent) |
Limited by available memory, can be very large. |
float |
64 |
Double-precision float, IEEE 754 standard. |
complex |
2x64 |
Consists of two 64-bit floats. |
bool |
8 |
Typically stored as a byte. |
str |
Variable (system-dependent) |
Dependent on length and encoding. |
bytes |
Variable (system-dependent) |
Dependent on the length of the sequence. |
bytearray |
Variable (system-dependent) |
Similar to bytes, mutable version. |
list |
Variable (system-dependent) |
Dependent on the number and types of elements. |
tuple |
Variable (system-dependent) |
Dependent on the number and types of elements. |
set |
Variable (system-dependent) |
Dependent on the number of elements. |
dict |
Variable (system-dependent) |
Dependent on the number of key-value pairs. |
NoneType |
N/A |
Represents no value, no associated bit size. |