Run
import array as arr my_array = arr.array('f', [1.5, 2.8, 3.14, 6.2]) print(my_array)
Output