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: [23, 190, 61, 247, 215, 140, 59, 80, 265, 120, 28, 98, 131, 198, 104, 151, 76, 158, 139, 22] k=17
Student:
[40, 207, 78, 264, 232, 157, 76, 97, 282, 137, 45, 115, 148, 215, 121, 168, 93, 175, 156, 39]