Blog

What is the output of the following code?

list = [2, 4, 6, 8, 10, 12]

mag = [3 * x for x in list]

print(mag)