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:[282, 167, 60, 50, 299, 54, 228, 140, 185, 133, 212, 113, 155, 263, 269, 17, 56, 294, 274, 252] k=20
Solution:
[302, 187, 80, 70, 319, 74, 248, 160, 205, 153, 232, 133, 175, 283, 289, 37, 76, 314, 294, 272]