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.
Input: [27, 275, 82, 76, 169, 186, 209, 68, 20, 183, 295, 256, 111, 223, 181, 155, 288, 28, 113, 205] k=10
Output:
[37, 285, 92, 86, 179, 196, 219, 78, 30, 193, 305, 266, 121, 233, 191, 165, 298, 38, 123, 215]