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: [38, 123, 214, 254, 84, 25, 150, 28, 240, 185, 63, 179, 288, 217, 57, 92, 244, 204, 70, 155] k=6

[44, 129, 220, 260, 90, 31, 156, 34, 246, 191, 69, 185, 294, 223, 63, 98, 250, 210, 76, 161]