Home
Download App
Study Material
{{ shortTitle }}
Video Lessons
Practice Tests
Ask Doubts
Pricing
JOIN NOW
Computer Science
If L = [1, 2] then L * 2 will yield
[1, 2] * 2
[1, 2, 2]
[1, 1, 2, 2]
[1, 2, 1, 2]
Python List Manipulation
29 Likes
Answer
[1, 2, 1, 2]
Answered By
9 Likes
Related Questions
Which of the following will create an empty list?
View Answer
Bookmark Now
Which of the following will return the last element of a list L with 5 elements?
View Answer
Bookmark Now
If L1 = [1, 3, 5] and L2 = [2, 4, 6] then L1 + L2 will yield
View Answer
Bookmark Now
Given a list L= [10, 20, 30, 40, 50, 60, 70], what would L[1 : 4] return?
View Answer
Bookmark Now