Remove every instance

The remove function only removes the first instance, is there a way to have it remove every instance?

For example, where your tutorial ends of, we removed only the 1 in the 0 index position.  Is there a way to remove all the other stand alond 1's in the list?

Category: Python
Tutorial: Remove() List Method
Asked at Dec. 14, 2018, 2:43 p.m. by tben1239

0 Answers