Everything is an Object in Python Programming - Data Types !!!
What is a data type in Python?
Data types are the classification or categorization of data items. It represents the kind of value that tells what operations can be performed on a particular data. Since everything is an object in Python programming, data types are actually classes and variables are instance (object) of these classes.
| 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 |

Comments
Post a Comment