First Post

Hello

Here's my first blog post using jupyter notebooks.

In [5]:
import random

def rint_list(n):
    lst = [random.randint(0,100) for i in range(n)]
    return lst
In [6]:
[random.randint(0,100) for i in range(3)]
Out[6]:
[1, 32, 72]
In [12]:
import matplotlib.pyplot as plt

%matplotlib inline
In [20]:
plt.hist(rint_list(100))
Out[20]:
(array([  6.,   9.,  12.,   9.,   8.,  10.,  10.,  11.,   6.,  19.]),
 array([   3. ,   12.7,   22.4,   32.1,   41.8,   51.5,   61.2,   70.9,
          80.6,   90.3,  100. ]),
 )

links

social