[Tutor] Homework Problem

Shawn Blazer shawnblazer94 at gmail.com
Sat May 29 01:11:13 CEST 2010


This problem told me to use map and filter, so how would I use that to  
solve it?

>>> remove ( 5 , 6 )
6
>>> remove ( 5 , 5 )
>>> remove ( 1 , [1 , [1 , [2 , 13]] , 1 , [2] , 5] )
[[[2 , 13]] , [2] , 5]
>>>
>>> remove ( 2 , [1 , [1 , [2 , 13]] , 1 , [2] , 5] )
[1 , [1 , [13]] , 1 , [] , 5]

Thanks!

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the Tutor mailing list