Definition: In this task, you are given a list of integers and an integer k. You need to add integer k to each element in the list and return the updated list.
Input: [80, 158, 111, 229, 227, 195, 281, 150, 81, 221, 88, 143, 190, 245, 54, 39, 57, 132, 52, 44] k=9
Output:
[89, 167, 120, 238, 236, 204, 290, 159, 90, 230, 97, 152, 199, 254, 63, 48, 66, 141, 61, 53]