Which keyword is used to import a module in Python?
- import
- include
- module
- require
In Python, you use the import keyword to import modules. Modules are Python files containing reusable code and data.
Loading...
Related Quiz
- Which special variable in Python represents the name of the current module?
- In Python, the ____ method is used to initialize the object’s attributes when an object is created.
- You need to design a data structure that allows for retrieval of the most recently added element and removal of the least recently added element. How would you design such a data structure?
- Which command is used in PDB (Python Debugger) to continue execution until the next breakpoint is encountered?
- The _______ operator returns True if the value on its left is less than the one on its right.