increase value of each element in a list python code example Example: increment all elements list python def incr(lst, i): return [x+i for x in lst]