Ask Question
5 April, 09:53

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. 5 April, 13:44
    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 you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers