Mengimpor Cosinus dari Scipy

from scipy.spatial import distance
distance.cosine([1, 0, 0], [0, 1, 0])
Friendly Hawk