diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index 23292d6e65cd1731a000f8a999efe563f46f4248..9a61f588bd31b1e9b713c5bf7f195c6af2cc2f43 100644 --- a/module2/exo1/toy_notebook_fr.ipynb +++ b/module2/exo1/toy_notebook_fr.ipynb @@ -15,8 +15,13 @@ "hidePrompt": false }, "source": [ - "# À propos du calcul de $\\pi$\n", - "\n", + "# À propos du calcul de $\\pi$" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ "## En demandant à la lib maths\n", "Mon ordinateur m'indique que $\\pi$ vaut *approximativement*" ] @@ -50,7 +55,7 @@ }, "source": [ "## En utilisation la méthode des aiguilles de Buffon\n", - "Mais calculé avec la __méthode__ des [aiguilles de Buffon](https://fr.wikipedia.org/wiki/Aiguille_de_Buffon), on obtiendrait comme __approximation__ :" + "Mais calculé avec la __méthode__ des [aiguilles de Buffon](https://fr.wikipedia.org/wiki/Aiguille_de_Buffon), on obtiendrait comme __approximation__ :\n" ] }, { @@ -117,8 +122,8 @@ "%matplotlib inline\n", "\n", "import matplotlib.pyplot as plt\n", - "np.random.seed(seed=42)\n", "\n", + "np.random.seed(seed=42)\n", "N = 1000\n", "x = np.random.uniform(size=N, low=0, high=1)\n", "y = np.random.uniform(size=N, low=0, high=1)\n",