Study Material
Computer Science
Which of the following will create an empty list?
L = [ ]
L = list(0)
L = list( )
L = List(empty)
Python List Manipulation
25 Likes
Answer
L = [ ]
L = list( )
Answered By
8 Likes
Related Questions
List can contain values of these types:
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 L = [1, 2] then L * 2 will yield
View Answer
Bookmark Now
If L1 = [1, 3, 5] and L2 = [2, 4, 6] then L1 + L2 will yield
View Answer
Bookmark Now