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:[188, 256, 198, 40, 53, 131, 148, 238, 149, 54, 273, 284, 17, 193, 134, 39, 290, 221, 99, 21] k=2
Solution:
[190, 258, 200, 42, 55, 133, 150, 240, 151, 56, 275, 286, 19, 195, 136, 41, 292, 223, 101, 23]