Robotics & Artificial Intelligence
The …………… function in Python is used to add elements to an empty list.
- add()
- append()
- concatenate()
- fill()
Python List Manipulation
2 Likes
Answer
append()
Reason — The append() function is used to add elements to an empty list.
Answered By
2 Likes
Related Questions
The …………… function in Python is used to convert a list into a tuple.
- list()
- convert()
- tuple()
- list()
A list created within another list is called a ………….. .
- Substring
- Sub
- Nested list
- Tuple
To print an individual item of the tuple, you need to specify the ……………. value of the item inside the square brackets.
- Order
- Index
- Zero
- Negative
The …………… keyword is used to print the list elements in descending order.
- Sort
- Index
- Descend
- Reverse