From a7cc49269e3d4a7b6c9aeb59d54b44e32b127d40 Mon Sep 17 00:00:00 2001 From: 0761351ee80cdd4e31f922314064bf87 <0761351ee80cdd4e31f922314064bf87@app-learninglab.inria.fr> Date: Sat, 29 May 2021 10:54:19 +0000 Subject: [PATCH] =?UTF-8?q?d=C3=A9but?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module2/exo1/toy_notebook_fr.ipynb | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index a4dec96..dc4fd8f 100644 --- a/module2/exo1/toy_notebook_fr.ipynb +++ b/module2/exo1/toy_notebook_fr.ipynb @@ -7,6 +7,38 @@ "# À propos du calcul de $\\pi$" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## En demandant à la lib maths" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Mon ordinateur m'indique que $\\pi$ vaut *approximativement*" + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "3.141592653589793\n" + ] + } + ], + "source": [ + "from math import *\n", + "print(pi)" + ] + }, { "cell_type": "code", "execution_count": null, -- 2.18.1