#map,filter,zip and reduce
#
#map(func,*iterables)


my_list = [1,2,3]
def multiply_by2(item):
    return item*2

print(list(map(multiply_by2, my_list)))
print(my_list)

#inorder to view thelistwe uselist #no need to give () to the function

#other imp point is thag the data and action  are separated
#pure function is a function that  doesnt affect the outside world
#mapis mossssssssssssssssssssst useful



