♦ Python Data Types
♣ About Python Data Types
Data Types are fundamentally classified based on the amount of memory for each Data Type.Each Data Type has the capability of holding a different type of entity.
Some common occurring Data Types are int, float, string.
♣ Data Types in PYTHON
Python has numerous Built-IN Data Types.Data Type | Description |
---|---|
str | Used to store textual value |
int | Used to store Natural Numbers |
float | Used to store Real Numbers |
complex | Used to store Complex Numbers |
list | Used to store sequence of Data Types(same type or different type) which can be Modified |
tuple | Used to store sequence of Data Types(same type or different type) which is Non-Changeable |
range | Used to produce Rande of values |
dict | Used to store values which have key assosciated with them |
frozenset | |
bool | Used to store True(1) or False(0) |
bytes | Used to store string in Encode Form |
bytearray | Multiple bytes can be stored |
memoryview | Memory can be viewed |