Multiplizieren Sie jedes Element mit x in Python

a_list = [1, 2, 3]

an_array = np.array(a_list)
multiplied_array = an_array * 2

print(multiplied_array)
OUTPUT
[2 4 6]
Vast Vendace