What is the purpose of the import keyword in Python?
- To create custom functions
- To declare class names
- To define variables
- To include external modules
The 'import' keyword in Python is used to include external modules or libraries, making their functionality available in your script.
Loading...
Related Quiz
- When importing a module, what is the primary purpose of using the as keyword?
- What is the primary purpose of Flask's route() decorator?
- You have to develop a Django app that should be able to handle multiple databases. How would you configure the app to work with multiple databases?
- How can you embed a docstring within a Python function?
- For a single if condition, if you want to run one block for a true condition and another block for a false condition, you need the if along with the ______ block.