From 767aec7295da7a5ab36d5279d81e388cf6c767c8 Mon Sep 17 00:00:00 2001 From: ce14f10f5bc5e484777f1060f8856ea9 Date: Tue, 7 Jun 2022 10:11:31 +0000 Subject: [PATCH] try 2 --- module2/exo1/toy_notebook_en.ipynb | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/module2/exo1/toy_notebook_en.ipynb b/module2/exo1/toy_notebook_en.ipynb index 7ff8360..4076e2c 100644 --- a/module2/exo1/toy_notebook_en.ipynb +++ b/module2/exo1/toy_notebook_en.ipynb @@ -6,8 +6,25 @@ "metadata": {}, "outputs": [], "source": [ - "# On the computation of \\pi\n", - "## Asking the maths library\n" + "# On the computation of $\\pi$\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "## Asking the maths library\n", + "My computer tells me that $\\pi$ is approximately" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "from math import *\n", + "print(pi)" ] } ], -- 2.18.1