Detailed 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.
Problem:[289, 239, 111, 287, 205, 152, 165, 15, 14, 227, 189, 271, 272, 129, 231, 281, 75, 174, 107, 93] k=10
Solution:
[299, 249, 121, 297, 215, 162, 175, 25, 24, 237, 199, 281, 282, 139, 241, 291, 85, 184, 117, 103]