

InterviewSolution
Saved Bookmarks
1. |
Suppose list1 is [1, 3, 2], What is list1 * 2?(a) [2, 6, 4](b) [1, 3, 2, 1, 3](c) [1, 3, 2, 1, 3, 2](d) [1, 3, 2, 3, 2, 1]The question was posed to me at a job interview.My question is taken from Lists topic in chapter Lists & List Comprehension of Python |
Answer» Right option is (C) [1, 3, 2, 1, 3, 2] |
|