Detailed Instructions: 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.
Problem:[297, 271, 166, 222, 231, 16, 278, 260, 113, 243, 191, 244, 104, 232, 282, 224, 100, 32, 15, 11] k=7
Solution:
[304, 278, 173, 229, 238, 23, 285, 267, 120, 250, 198, 251, 111, 239, 289, 231, 107, 39, 22, 18]