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: [144, 124, 279, 293, 41, 32, 77, 239, 71, 210, 297, 251, 141, 199, 206, 229, 42, 64, 253, 30] k=8
Student:
[152, 132, 287, 301, 49, 40, 85, 247, 79, 218, 305, 259, 149, 207, 214, 237, 50, 72, 261, 38]