Scope of variable inside Python function

Question:
What is the scope of a variable declared inside a function in Python?

  1. Global
  2. Local
  3. Nonlocal
  4. External
Answer:
B - is the correct answer