how to add a number to all elements in a list python code example Example: add 1 to all elements in list python lst = [1,2,3] list(map(lambda x:x+1, lst))