def Map(func, l): lst = [] for i in l: lst.append(func(i)) return lst