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: [21, 209, 265, 275, 174, 217, 141, 70, 145, 278, 15, 106, 102, 241, 177, 180, 31, 85, 154, 236] k=1
Output:
[22, 210, 266, 276, 175, 218, 142, 71, 146, 279, 16, 107, 103, 242, 178, 181, 32, 86, 155, 237]