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: [226, 167, 246, 128, 270, 89, 131, 288, 262, 43, 36, 17, 16, 283, 225, 286, 206, 54, 88, 123] k=17
Output:
[243, 184, 263, 145, 287, 106, 148, 305, 279, 60, 53, 34, 33, 300, 242, 303, 223, 71, 105, 140]