diff --git a/native-datatypes.html b/native-datatypes.html index 74bf590..e09a740 100755 --- a/native-datatypes.html +++ b/native-datatypes.html @@ -382,7 +382,7 @@ ValueError: list.index(x): x not in list ValueError: list.remove(x): x not in list
  1. You can also remove an item from a list with the remove() method. The remove() method takes a value and removes the first occurrence of that value from the list. Again, all items after the deleted item will have their positional indices bumped down to “fill the gap.” Lists never have gaps. -
  2. You can call the remove() method has often as you like, but it will raise an exception if you try to remove a value that isn’t in the list. +
  3. You can call the remove() method as often as you like, but it will raise an exception if you try to remove a value that isn’t in the list.

Removing Items From A List: Bonus Round