Q.

Which of the following is false about “from-import” form of import?

A. the syntax is: from modulename import identifier
B. this form of import prevents name clash
C. the namespace of imported module becomes part of importing module
D. the identifiers in module are accessed directly as: identifier
Answer» B. this form of import prevents name clash
Explanation: in the “from-import” form of import, there may be name clashes because names of the imported identifiers aren’t specified along with the module name.
4k
0
Do you find this helpful?
36

Discussion

No comments yet