Python Developer Question:

Explain what is namespace in Python?

Tweet Share WhatsApp

Answer:

In Python, every name introduced has a place where it lives and can be hooked for. This is known as namespace. It is like a box where a variable name is mapped to the object placed. Whenever the variable is searched out, this box will be searched, to get corresponding object.

Download Python Developer PDF Read All 77 Python Developer Questions
Previous QuestionNext Question
Tell me what is the difference between Xrange and range?Tell me what are the tools that help to find bugs or perform static analysis?