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: [266, 195, 219, 253, 97, 116, 180, 229, 34, 142, 173, 12, 182, 127, 150, 45, 245, 167, 177, 151] k=7

[273, 202, 226, 260, 104, 123, 187, 236, 41, 149, 180, 19, 189, 134, 157, 52, 252, 174, 184, 158]