Sollicitatievraag bij Wipro

What is Scope in Python?

Antwoord op sollicitatievraag

Anoniem

17 feb 2022

. A scope is a block of code where an object in Python remains relevant. Namespaces uniquely identify all the objects inside a program. However, these namespaces also have a scope defined for them where you could use their objects without any prefix.