# L-4 MCS 275 Wed 23 Jan 2008 : usehistogram

from random import uniform
from classhistogram import *

k = input('Give #bins : ')
n = input('Give #samples : ')
h = Histogram(k)
for i in range(0,n):
   h.add(uniform(0,1))
print 'The histogram : ' + str(h) 
