MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the statements about modules is false? |
| A. | In the “from-import” form of import, identifiers beginning with two underscores are private and aren’t imported |
| B. | dir() built-in function monitors the items in the namespace of the main module |
| C. | In the “from-import” form of import, all identifiers regardless of whether they are private or public are imported |
| D. | When a module is loaded, a compiled version of the module with file extension .pyc is automatically produced |
| Answer» D. When a module is loaded, a compiled version of the module with file extension .pyc is automatically produced | |