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: [46, 98, 136, 257, 21, 272, 145, 97, 34, 91, 211, 111, 176, 24, 99, 105, 225, 162, 209, 108] k=4
Output:
[50, 102, 140, 261, 25, 276, 149, 101, 38, 95, 215, 115, 180, 28, 103, 109, 229, 166, 213, 112]