CBSE Class 12 Computer Science
Question 21 of 62
Using Python Libraries — Question 6
Back to all questionsimport <module>
import <module1>, <module2>
Reason —
import <module>— This syntax is used to import an entire module. It creates a new namespace with the same name as that of the module.import <module1>, <module2>— This syntax is used to import multiple modules. It creates separate namespaces for each module, with names corresponding to the module names.