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: [13, 96, 188, 47, 176, 158, 242, 119, 66, 237, 270, 135, 170, 74, 48, 260, 19, 145, 163, 256] k=10
Student:
[23, 106, 198, 57, 186, 168, 252, 129, 76, 247, 280, 145, 180, 84, 58, 270, 29, 155, 173, 266]