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: [80, 161, 73, 12, 17, 277, 295, 49, 175, 241, 230, 31, 22, 40, 28, 101, 84, 289, 149, 55] k=17
Student:
[97, 178, 90, 29, 34, 294, 312, 66, 192, 258, 247, 48, 39, 57, 45, 118, 101, 306, 166, 72]