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: [29, 143, 116, 205, 67, 151, 167, 233, 284, 203, 202, 12, 227, 128, 121, 88, 297, 294, 34, 95] k=20
Student:
[49, 163, 136, 225, 87, 171, 187, 253, 304, 223, 222, 32, 247, 148, 141, 108, 317, 314, 54, 115]