def map1(f, l):
    new=[]
    for i in l:
        new.append(f(i))
    return new
        
    
def filter1(f, l):
    new =[]
    for i in l:
        if f(i) == True:
            new.append(i)
    return new
        
def reduce1(f, l):
    new = l[0]
    for i in l[1:]:
        new = f(new, i)
    return new
pythonを用いて、高階関数 map()、filter()、reduce() を実装しなさい。