Q. In python, what is the correct method to load a module?

  • (A) include math
  • (B) import math
  • (C) #include math.h
  • (D) using math
πŸ’¬ Discuss
βœ… Correct Answer: (B) import math
Explanation: To use functions of a module, you must import the module with the “import” instruction.
Explanation by: Rajeev Malhotra
To use functions of a module, you must import the module with the “import” instruction.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
215
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Rajeev Malhotra
Publisher
πŸ“ˆ
98%
Success Rate