import numpy as np distances = np.array([1, 2, 3, 4, 5, 6]) w = 5 b = 7 predictions = w * distances + b print(predictions) # [12 17 22 27 32 37] __ __