First Post

Posted by Nana Okyere on Thu 08 March 2018
In [1]:
import random

random.randint(0,100)
Out[1]:
7
In [3]:
import matplotlib.pyplot as plt
%matplotlib inline
plt.hist([10,5,7,10,1,1,2,3,5])
Out[3]:
(array([2., 1., 1., 0., 2., 0., 1., 0., 0., 2.]),
 array([ 1. ,  1.9,  2.8,  3.7,  4.6,  5.5,  6.4,  7.3,  8.2,  9.1, 10. ]),
 <a list of 10 Patch objects>)