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:[76, 48, 143, 156, 150, 86, 259, 89, 141, 160, 70, 45, 20, 27, 162, 101, 11, 297, 142, 225] k=8
Solution:
[84, 56, 151, 164, 158, 94, 267, 97, 149, 168, 78, 53, 28, 35, 170, 109, 19, 305, 150, 233]