Understanding Dynamic Variable Allocation in Python
I was always curious about how Python assigns values under the hood to the same variable.
Example
Let's say we declare:
a = 2
print(type(a)) # This will give INT as a response
a = 2
a = "Hello World"
print(type(a)) # This will give String as a res...
abhisekh.in2 min read