Vidyalelo
Python · Q26

Module in Python

Programming · Python · question 26

Q26

What is the purpose of the from ... import * statement in Python?

A.
It imports all names defined in the module into the current namespace
Answer
B.
It creates a new module
C.
It imports a module from another programming language
D.
It is used to define a new class

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board