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 | |