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: [173, 299, 106, 121, 279, 39, 212, 267, 210, 131, 46, 47, 224, 122, 188, 149, 258, 79, 99, 257] k=8
Student:
[181, 307, 114, 129, 287, 47, 220, 275, 218, 139, 54, 55, 232, 130, 196, 157, 266, 87, 107, 265]