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: [71, 204, 94, 201, 175, 250, 217, 256, 17, 90, 270, 213, 126, 277, 299, 278, 294, 265, 140, 247] k=10

[81, 214, 104, 211, 185, 260, 227, 266, 27, 100, 280, 223, 136, 287, 309, 288, 304, 275, 150, 257]