Robotics & Artificial Intelligence
A module in Python is …………… .
- A function
- Collection of variables
- Collection of Python code in a file
- None of these
Python Modules
1 Like
Answer
Collection of Python code in a file
Reason — A module is a simple Python file that can contain functions, variables, and other objects.
Answered By
1 Like
Related Questions
Which is/are the characteristic(s) of machine intelligence?
- Emotion handling
- Context understanding
- Innovative
- All of the above
What is the meaning of intellectual property infringement?
- Sending a mail that includes a link to a fake site
- Stealing software that may be stored on a pen drive
- Make a copy of someone’s patent design
- None of these
What would be the output of following code ?
list1 = [2, 3, 4, 5, 6] print(list1[-2])- 3
- 4
- 5
- Error
Which of the following function is applicable in a tuple?
- insert
- append
- del
- None of these