Namespace
What is a namespace in Python?
Answer
A namespace in Python is a dictionary where the keys are the names of the objects, and the values are the objects themselves.
x = 10
ns = globals() # Global Namespace
print("x" in ns) # True
print(ns["x"]) # 10