Q: 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.
[226, 104, 47, 270, 264, 24, 213, 196, 188, 259, 185, 88, 140, 169, 290, 21, 206, 118, 231, 240] k=10
A:
[236, 114, 57, 280, 274, 34, 223, 206, 198, 269, 195, 98, 150, 179, 300, 31, 216, 128, 241, 250]