Ask Question
23 May, 18:59

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

+3
Answers (1)
  1. 23 May, 19:01
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers