View Single Post
Old Feb 4th, 2006, 9:10 AM   #14
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Well, even if they disappear, if you find yourself needing them, it's not hard to write them in:
def map(f, s):
    return [f(x) for x in s]
def filter(f, s):
    return [x for x in s if f(s)]
Arevos is offline   Reply With Quote