python List & Tuple Questions & Answers

Question 1: Which of the following is mutable?

Question 2: A list can contain _________ elements.

Question 3: What will be the output of the following code?

nums=list({1:'one',2:'two'})
print(nums)
ADVERTISEMENT

Question 4: Which of the following is an invalid list object?

Question 5: The list.pop() function will