Definition: 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.
Input: [277, 142, 291, 92, 179, 52, 62, 31, 247, 14, 55, 231, 270, 200, 131, 221, 53, 28, 35, 279] k=1

[278, 143, 292, 93, 180, 53, 63, 32, 248, 15, 56, 232, 271, 201, 132, 222, 54, 29, 36, 280]