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: [206, 284, 165, 175, 163, 114, 129, 92, 152, 293, 150, 40, 153, 42, 73, 173, 169, 47, 156, 75] k=7
Output:
[213, 291, 172, 182, 170, 121, 136, 99, 159, 300, 157, 47, 160, 49, 80, 180, 176, 54, 163, 82]