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: [56, 178, 13, 187, 231, 247, 11, 107, 87, 211, 220, 265, 272, 210, 134, 139, 194, 93, 162, 41] k=15
Student:
[71, 193, 28, 202, 246, 262, 26, 122, 102, 226, 235, 280, 287, 225, 149, 154, 209, 108, 177, 56]