This question may not have any practical value, this is just out of curiosity. In C/C++ when you declare a variable like below:
int c;
variable c
will have some garbage value in it.
As per my understanding python doesn't have variables as in C/C++ but it has name-bindings with objects. So, according to me there is no way to get garbage as you always first create the object and then assign it a tag.
Garbage value actually is just whatever was stored at the location variable refers. But, I want to know if there is some way to get garbage values in python. In other words is there some way to access memory location without first initializing it. In my view it should not be possible and I appreciate it if this is by design. But I am just curious.
I am still learning both python and C++ and am not an expert so forgive me if this is a stupid question.