In Pyton, what is a namespace?

In Python, every name has a place where it lives and can be tied to. This is called a namespace. A namespace is like a box where a name is mapped with the object. Whenever the variable is searched, this box will also be searched in order to find the corresponding object.

Suggest An Answer

No suggestions avaliable!

Related Interview Questions