Category Archives: Introduction to data types in python

Data type is basically a classification of data.
Using data type we can classify the data and depending upon which the interpreter allocates the memory.
Also data type classification is necessary since it constraints the operation those can be performed on a data.

Variables and Data types in python

Variables in Python: Variables are the reserved memory locations to store the data. Which means for each variable in your program, separate memory location is reserved. As soon as you assign some value to the variable in you program, python interpreter utilizes the reserved memory space of that variable. But how much memory to be reserved and what type of data you can store in a variable depends upon data type of variable. To understand variables in detail let’s first try to understand what is meant

Read More