Teacher: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.
Teacher: Now, understand the problem? Solve this instance: [223, 114, 183, 61, 277, 107, 173, 255, 153, 190, 254, 206, 159, 236, 203, 181, 182, 51, 291, 146] k=18
Student:
[241, 132, 201, 79, 295, 125, 191, 273, 171, 208, 272, 224, 177, 254, 221, 199, 200, 69, 309, 164]