From e4f99b5483d5312d68baa6e3f2b8418d075fe6f1 Mon Sep 17 00:00:00 2001 From: c8245daf3a603bfeeb31fe89445b2933 Date: Fri, 26 Jun 2020 09:40:58 +0000 Subject: [PATCH] changing spaces --- module2/exo1/toy_notebook_fr.ipynb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index 0fdf11c..da1464d 100644 --- a/module2/exo1/toy_notebook_fr.ipynb +++ b/module2/exo1/toy_notebook_fr.ipynb @@ -76,7 +76,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 12, "metadata": {}, "outputs": [ { @@ -94,7 +94,6 @@ ], "source": [ "%matplotlib inline\n", - "\n", "import matplotlib.pyplot as plt\n", "\n", "np.random.seed(seed=42)\n", @@ -102,8 +101,6 @@ "x = np.random.uniform(size=N, low=0, high=1)\n", "y = np.random.uniform(size=N, low=0, high=1)\n", "\n", - "\n", - "\n", "accept = (x*x+y*y) <= 1\n", "reject = np.logical_not(accept)\n", "\n", @@ -117,7 +114,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Il est alors aisé d’obtenir une approximation (pas terrible) de $\\pi$ en comptant combien de fois,en moyenne, $X^2 + Y^2$ est inférieur à 1 :" + "Il est alors aisé d’obtenir une approximation (pas terrible) de $\\pi$ en comptant combien de fois, en moyenne, $X^2 + Y^2$ est inférieur à 1 :" ] }, { -- 2.18.1