Mike C. Fletcher wrote: >>yeah actually i saw what Fedrik had to say above. I created a sliced >>copy of the l & did my homework within the for loop >> > You might want to check it again before you hand it in ;) ... > > >>> def ishwor( source ): > ... for item in source: > ... if item == 'd': > ... source.remove( item )
that's not the code he quoted in the mail you replied to, though... </F> -- http://mail.python.org/mailman/listinfo/python-list