From e2cc792ebf37e6386f2265385a2e11bb34acd5a0 Mon Sep 17 00:00:00 2001 From: dbaba6ae81ab701e87625ee1249bb266 Date: Sat, 8 Jan 2022 17:44:28 +0000 Subject: [PATCH] first few cells --- module2/exo1/toy_notebook_fr.ipynb | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index dc2d71e..4702b26 100644 --- a/module2/exo1/toy_notebook_fr.ipynb +++ b/module2/exo1/toy_notebook_fr.ipynb @@ -20,7 +20,27 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "### En demandant à la lib maths" + "### En demandant à la lib maths\n", + "\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)" ] }, { -- 2.18.1