diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index 41b1feaa3b8ce336180e687f196b9aa868bfd158..d61a9313749b6ce4d8b8711ed5fa8fd7296d87b4 100644 --- a/module2/exo1/toy_notebook_fr.ipynb +++ b/module2/exo1/toy_notebook_fr.ipynb @@ -1,5 +1,38 @@ { "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# À 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, @@ -9,7 +42,6 @@ } ], "metadata": { - "celltoolbar": "Hide code", "kernelspec": { "display_name": "Python 3", "language": "python",