What is the purpose of the __name__ variable in a Python module?
A. It indicates whether the module is being run as the main program or imported
B. It stores the code of the module
C. It defines a new variable
D. It is used to create aliases for modules
Answer: Option A
Join The Discussion