Luxoft Interview Question

Scope of variable in Python.