DS - Map, Reduce Filter Functions
Suppose we take a list:
l = [2,3,4,5,6]
Suppose we create a function to find square of list and call it and get output:
def test(l): l1 = [] for i in l: l1.append(i**2) return l1
test(l)
o/p: [4, 9, 16, 25, 36]
Now we want to map every element of lis...