Variables are the first thing you use when you start programming. Its the first thing you learn in any programming language. Syntax of assigning value to a variable differs language to language . For example, in C you will specify a type of variable and then assign a value with a ‘=’ sign.

int x = 4

In python you don’t have to mention the type of the variable when you are assigning a value to it.

y = 5

This is at a implementation level. But if you dig deeper you will realize its much more than what meets the eye.

In see when you assign a value to the variable in language like C, that variable acts as a container or bucket in which you put the value .

#variables #python3 #python

Python Variables are Pointers Not Containers!!
1.80 GEEK