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.
[35, 139, 115, 52, 215, 285, 292, 142, 110, 205, 156, 169, 161, 235, 195, 284, 279, 56, 294, 220] k=7
A:
[42, 146, 122, 59, 222, 292, 299, 149, 117, 212, 163, 176, 168, 242, 202, 291, 286, 63, 301, 227]