From 77d23782604f7356b700c7e06441c03ea71e64e1 Mon Sep 17 00:00:00 2001 From: 9399e5a06ef82ea6883fcf0e93124538 <9399e5a06ef82ea6883fcf0e93124538@app-learninglab.inria.fr> Date: Thu, 1 Dec 2022 12:06:33 +0000 Subject: [PATCH] update --- module2/exo1/toy_notebook_fr.ipynb | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index a4dec96..d3ddc6f 100644 --- a/module2/exo1/toy_notebook_fr.ipynb +++ b/module2/exo1/toy_notebook_fr.ipynb @@ -7,6 +7,39 @@ "# À propos du calcul de $\\pi$" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## En demandant à la lib maths\n", + "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, + "metadata": {}, + "outputs": [], + "source": [] + }, { "cell_type": "code", "execution_count": null, -- 2.18.1