diff --git a/ipynb/Economics.ipynb b/ipynb/Economics.ipynb index 1c26f53..f3f4a10 100644 --- a/ipynb/Economics.ipynb +++ b/ipynb/Economics.ipynb @@ -48,7 +48,7 @@ "N = 5000 # Default size of the population\n", "MU = 100. # Default mean of the population\n", "\n", - "population = [random.gauss(mu=MU, sigma=MU/5) for actor in range(N)]" + "population = [random.gauss(mu=MU, sigma=MU/5) for _ in range(N)]" ] }, { @@ -182,7 +182,7 @@ "outputs": [], "source": [ "def random_split(A, B):\n", - " \"Take all the money uin the pot and divide it randomly between the two actors.\"\n", + " \"Take all the money in the pot and divide it randomly between the two actors.\"\n", " pot = A + B\n", " share = random.uniform(0, pot)\n", " return share, pot - share"