Suppose listExample is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after listExample.extend([34, 5])?
(a) [3, 4, 5, 20, 5, 25, 1, 3, 34, 5]
(b) [1, 3, 3, 4, 5, 5, 20, 25, 34, 5]
(c) [25, 20, 5, 5, 4, 3, 3, 1, 34, 5]
(d) [1, 3, 4, 5, 20, 5, 25, 3, 34, 5]
I have been asked this question during an online exam.
This key question is from Lists in section Lists & List Comprehension of Python