Is it possible to remove several elements from a list at the same time? If I want to delete elements on Elements 0 and 2, and I'm trying something like Del Somelist [0], then the second statement of Del Somalist [2] will actually remove the Somalist [3].
I think I could always remove the elements with high marks already but I hope there is a better way.
Probably not the best solution to this problem:
index = 0, 2 somelist = [i for j, i am emirate] if index is not in j]
Comments
Post a Comment