iterating through lists to delete elements

Mats Wichmann xyzmats at
Thu Aug 9 21:01:03 CEST 2001

On Thu, 09 Aug 2001 15:54:40 +0100, Mark Robinson
<m.1.robinson at> wrote:

:Can anyone advise me the best way to iterate through a list and deleting 
:elements that don't meet a certain criteria.
Perfect use for the filter() function.

More information about the Python-list mailing list