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: [217, 47, 259, 265, 60, 101, 220, 170, 202, 88, 28, 274, 63, 182, 270, 55, 38, 117, 96, 40] k=9
Student:
[226, 56, 268, 274, 69, 110, 229, 179, 211, 97, 37, 283, 72, 191, 279, 64, 47, 126, 105, 49]