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, 282, 50, 143, 30, 71, 285, 47, 119, 260, 32, 274, 223, 95, 196, 240, 63, 290, 235, 90] k=8
Student:
[64, 290, 58, 151, 38, 79, 293, 55, 127, 268, 40, 282, 231, 103, 204, 248, 71, 298, 243, 98]