Filter interviews by
I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.
Namespace in Python is a system to make sure that all the names in a program are unique and can be used without any conflict.
Namespaces are containers for mapping names to objects.
Python uses namespaces to avoid naming conflicts and to create a unique space for each variable, function, etc.
There are different types of namespaces in Python such as local, global, and built-in namespaces.
Scopes in Python refer to the visibility of variables within a program.
Variables defined inside a function have local scope and are only accessible within that function.
Global variables can be accessed from any part of the program.
Nonlocal variables are used in nested functions to access variables from the outer function.
Top trending discussions
based on 1 interview
Interview experience
Consultant
1.1k
salaries
| ₹6.8 L/yr - ₹24 L/yr |
Data Engineer
717
salaries
| ₹7.5 L/yr - ₹28 L/yr |
Senior Consultant
586
salaries
| ₹11 L/yr - ₹40 L/yr |
Data Scientist
462
salaries
| ₹8.4 L/yr - ₹33 L/yr |
Senior Engineer
201
salaries
| ₹15 L/yr - ₹44 L/yr |
Mu Sigma
AbsolutData
LatentView Analytics
Tiger Analytics