Build a 5 × 5 table where cell (i, j) is the distance in km between store i and store j. Use broadcasting (no loops) and store it in result.
import numpy as np # positions of 5 stores along a highway, in km km = np.array([0, 12, 25, 31, 48])
Store your final answer in a variable named result.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.