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:[35, 14, 205, 188, 241, 200, 47, 297, 121, 20, 246, 230, 157, 199, 174, 206, 159, 208, 72, 22] k=5
Solution:
[40, 19, 210, 193, 246, 205, 52, 302, 126, 25, 251, 235, 162, 204, 179, 211, 164, 213, 77, 27]