Open In App

Python | Namespaces and Scope Quiz | Question 1

What is the primary purpose of namespaces in Python?

(A)



To organize code into modules

(B)



To avoid naming conflicts and collisions

(C)

To define global variables

(D)

To enhance code readability

Answer: (B)
Explanation:
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :
Uncategorized