Q: 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.
[260, 42, 210, 144, 29, 129, 19, 149, 70, 15, 211, 170, 130, 104, 231, 81, 124, 158, 258, 82] k=12
A:
[272, 54, 222, 156, 41, 141, 31, 161, 82, 27, 223, 182, 142, 116, 243, 93, 136, 170, 270, 94]