Problem:
Determine the KL Divergence between the empirical distributions $\{0.043,0.069,0.046,0.348,0.075,0.065,0.049,0.3\}$ and $\{0.031,0.27,0.542,0.001,0.002,0.001,0.092,0.004\}$.
from scipy.stats import entropy

distribution1 = 0.043, 0.069, 0.046, 0.348, 0.075, 0.065, 0.049, 0.3
distribution2 = 0.031, 0.27, 0.542, 0.001, 0.002, 0.001, 0.092, 0.004
print(entropy(distribution1, qk=distribution2))
