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: [101, 140, 47, 70, 116, 55, 256, 40, 222, 108, 147, 198, 33, 52, 237, 23, 110, 235, 90, 16] k=2
Student:
[103, 142, 49, 72, 118, 57, 258, 42, 224, 110, 149, 200, 35, 54, 239, 25, 112, 237, 92, 18]