From e888f14ecf3279c9a92f4f4b9a42a97b511eb630 Mon Sep 17 00:00:00 2001 From: 8df8fe9b766d325d0f140ef7f8626d15 <8df8fe9b766d325d0f140ef7f8626d15@app-learninglab.inria.fr> Date: Fri, 18 Sep 2020 14:43:14 +0000 Subject: [PATCH] no commit message --- module2/exo1/toy_notebook_en.ipynb | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/module2/exo1/toy_notebook_en.ipynb b/module2/exo1/toy_notebook_en.ipynb index 66687e5..99e79f4 100644 --- a/module2/exo1/toy_notebook_en.ipynb +++ b/module2/exo1/toy_notebook_en.ipynb @@ -7,15 +7,28 @@ "hidePrompt": true }, "source": [ - "# On the computation of $\\pi$" + "# On the computation of $\\pi$\n", + "## Asking the maths library\n", + "My computer tells me that $\\pi$ is *approximatively*" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 3, "metadata": {}, - "outputs": [], - "source": [] + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "3.141592653589793\n" + ] + } + ], + "source": [ + "from math import *\n", + "print(pi)" + ] }, { "cell_type": "code", -- 2.18.1