how to add an element to every element in 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]