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