Important Notice:
M3-R5.1 — List Manipulation MCQ
24 Questions  •  M3-R5.1
20:00
← Back
1
A list in Python is created using?
2
Lists in Python are?
3
To add an element to end of a list?
4
To remove last element from a list?
5
len([1,2,3,4]) returns?
6
list.sort() sorts the list?
7
list.extend([4,5]) does what?
8
List slicing [1:3] on [10,20,30,40] returns?
9
List comprehension [x*2 for x in range(3)] returns?
10
To check if 5 is in myList?
11
List in Python is created with?
12
Lists are?
13
list.append(x) does?
14
list.insert(i, x) does?
15
list.remove(x) does?
16
list.pop() removes?
17
[1,2,3] + [4,5] returns?
18
list.sort() sorts in?
19
list.reverse() does?
20
List comprehension syntax is?
21
list.index(x) returns?
22
list.count(x) returns?
23
Nested list is?
24
del list[2] does?
Answered: 0 / 24