how to add every element of list in python code example Example: how to add a number to every element in a list python new_list = [x+1 for x in my_list]