CBSE Class 11 Computer Science Question 77 of 104

List Manipulation — Question 13

Back to all questions
13
Question

Question 13a

Find the errors:

L1 = [1, 11, 21, 31]
An = L1.remove(41)

Answer

L1.remove(41) will cause an error as 41 is not present in L1.

Answer