python Built-in Data Types
In programming, data type is an important to know you are play with it.
Variables can store data of different types, and different types can do different things.
Python has the following data types built-in by default, in these categories as shown:
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
By knowing the data type of given data al you know it
>>>type(2)
you will get an output says that int data type;
>>>type(2.2)
here you will get an output says that float data type
>>>type(20000000000000)
here it will shows the output is int it seems bigint data type
>>>type('a')
here it will shows you this is string data type
>>>type('i am learning Python')
here it will shows you this is string data type
>>>type(True)
here it will shows you this is boolien data type means true or false
>>>type(False)
here it will shows you this is boolien data type means true or false