EN
Python - built-in datatypes
0
points
In this article, we would like to show you built-in datatypes in Python.
Built-in datatypes
| Numeric types | int, float, complex |
| Text types | str |
| Boolean types | bool |
| Sequence types | list, tuple, range |
| Mapping types | dict |
| Set types | set, frozenset |
| Binary types | bytes, bytearray, memoryview |
Note:
You can check the data type using
type()method.text = 'a' print(type(text)) # str