"Shawn Blazer" <shawnblaze...@gmail.com> wrote
This problem told me to use map and filter, so how would I use that to solve it?
Because its homework we won't solve it for you, we will only answer questions or suggest approaches.
From your earlier post it looks like you have all the tools:
recursion, map and filter. Now what do you not understand? What have you tried? FWIW My tutorial covers map and filter in the "Functional Programming" topic. -- Alan Gauld Author of the Learn to Program web site http://www.alan-g.me.uk/ _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor