Each variable in Python has a data type, meaning what type of data is stored in the variable. In the given example i.e. x = 10, the data type of x is integer because 10 is an integer value that is stored in x.
Built-in python data types are:
Text Type: str
Numeric Types: int, float, complex
Sequence Types: list, tuple, range
Mapping Type: dict
Set Types: set, frozenset
Boolean Type: bool
Binary Types: bytes, bytearray, memoryview
None Type: None