1.

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» The correct answer is (b) This form of import prevents name clash

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


Discussion

No Comment Found