Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
| Download
Project: Erik Yan - Fall 2021 MAT1630
Views: 19Image: ubuntu2004
Kernel: Python 3 (system-wide)
In [6]:
In [24]:
Out[24]:
array([0, 0, 0, 0, 0, 1, 1, 0, 0, 1])
we use this to generate a random list of a coin toss.
In [31]:
We have this set up so that when the coin is flipped, if it is greater than or equal to 5, it will be added onto the counter.
In [32]:
Out[32]:
0
In [33]:
Out[33]:
0.61
This would mean that the probability of getting at least 5 heads is roughly 61%