Compare two histograms, or find l2 distance between two histograms in python

Job ID: 35496557

Budget: ₹600 – ₹1,500 INR

I want to calculate difference between two histogram. If the histogram is the same it should return 0.
you can create histogram by h1=[randvalues],h2=[randvalues]. I need to compare these two. histogram is a smooth curve. so finding the area of the intersection is also a method.