Instructions: 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: [58, 246, 90, 118, 40, 51, 121, 262, 137, 284, 50, 97, 192, 170, 53, 139, 111, 164, 193, 144] k=11
Output:
[69, 257, 101, 129, 51, 62, 132, 273, 148, 295, 61, 108, 203, 181, 64, 150, 122, 175, 204, 155]