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: [212, 65, 203, 294, 247, 146, 25, 189, 107, 246, 273, 114, 126, 164, 92, 162, 165, 135, 71, 240] k=3
Student:
[215, 68, 206, 297, 250, 149, 28, 192, 110, 249, 276, 117, 129, 167, 95, 165, 168, 138, 74, 243]