[Tutor] my newbie program

alan.gauld@bt.com alan.gauld@bt.com
Tue Nov 19 13:14:10 2002


> I don't think, that this does, what you expect:
> 
>  >>> map(lambda x: x!=0, [0,0,0,0])
> [0, 0, 0, 0]


Doh! should be filter() not map!

Alan G.