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: [61, 190, 295, 133, 33, 225, 298, 223, 222, 282, 136, 278, 258, 145, 252, 297, 245, 94, 104, 28] k=20
Output:
[81, 210, 315, 153, 53, 245, 318, 243, 242, 302, 156, 298, 278, 165, 272, 317, 265, 114, 124, 48]