QuestionQ7
Python/PyEZWhich statement is correct about Python variables that are defined in the global namespace?
A. Global variables are stored in disk storage and can be used by any Python script executed on this device.
B. Global variables can only be referenced in the module's code within the global namespace.
C. Global variables must have the data type explicitly declared.
D. Global variables can be referenced in any portion of the module's code.
- A Global variables are stored in disk storage and can be used by any Python script executed on this device.
- B Global variables can only be referenced in the module’s code within the global namespace.
- C Global variables must have the data type explicitly declared.
- D Global variables can be referenced in any portion of the module’s code.
Community Discussion