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: [105, 147, 171, 18, 294, 33, 158, 142, 86, 141, 79, 224, 250, 140, 214, 149, 107, 194, 25, 82] k=6
Output:
[111, 153, 177, 24, 300, 39, 164, 148, 92, 147, 85, 230, 256, 146, 220, 155, 113, 200, 31, 88]