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: [179, 53, 147, 13, 62, 211, 173, 154, 265, 246, 251, 78, 174, 294, 299, 160, 285, 28, 236, 156] k=3
Student:
[182, 56, 150, 16, 65, 214, 176, 157, 268, 249, 254, 81, 177, 297, 302, 163, 288, 31, 239, 159]