Ask Question
23 May, 15:24

Which of the following statements imports a module into the global namespace? Select one: a. from temperature import * b. import temperature c. import temperature as global d. import temperature as temp

+2
Answers (1)
  1. 23 May, 16:41
    0
    The correct answer B) from temperature import *

    We use from statement to import the module into the current namespace.

    Explanation:

    Incorrect answers:.

    C) import temperature - > import statement is used to execute a python file as a module into another python source file.

    A) import temperature as t, D) import temperature as temp - > These are not valid statements in python.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which of the following statements imports a module into the global namespace? Select one: a. from temperature import * b. import ...” in 📙 Business if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers