What is the order of namespaces in which Python interpreter looks for an identifier?
The built-in namespace - > the local namespace - > the global namespace
the global namespace -> the built-in namespace - > the local namespace
the built-in namespace - > the global namespace -> the local namespace
the local namespace -> the global namespace -> the built-in namespace
Python first searches the local namespace, then the global namespace and finally the built-in namespace.
Comment here: