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: [224, 294, 231, 51, 252, 216, 106, 168, 154, 196, 172, 273, 79, 202, 123, 260, 259, 210, 17, 209] k=3
Student:
[227, 297, 234, 54, 255, 219, 109, 171, 157, 199, 175, 276, 82, 205, 126, 263, 262, 213, 20, 212]