diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index a4dec96c9d21f93f38d526ed117907616a39b589..dc4fd8f93b09cea641718add5a0450ef8fb812b5 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,