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: [165, 153, 123, 20, 99, 130, 178, 135, 43, 59, 215, 48, 34, 188, 228, 212, 172, 277, 209, 265] k=2
Student:
[167, 155, 125, 22, 101, 132, 180, 137, 45, 61, 217, 50, 36, 190, 230, 214, 174, 279, 211, 267]