Question d’entretien chez Wipro

What is Scope in Python?

Réponse à la question d'entretien

Utilisateur anonyme

17 févr. 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.