From 74d74649cc20d39ef1b6699a938e8f7cdc1786ee Mon Sep 17 00:00:00 2001 From: 5bc808aac88587dbd652b84ec257c92e <5bc808aac88587dbd652b84ec257c92e@app-learninglab.inria.fr> Date: Tue, 14 Sep 2021 17:54:06 +0000 Subject: [PATCH] no commit message --- module2/exo1/toy_notebook_fr.ipynb | 53 +++++++++++++++++++++++------- 1 file changed, 42 insertions(+), 11 deletions(-) diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index c6f02f6..769fd4a 100644 --- a/module2/exo1/toy_notebook_fr.ipynb +++ b/module2/exo1/toy_notebook_fr.ipynb @@ -1,5 +1,45 @@ { "cells": [ + { + "cell_type": "raw", + "metadata": { + "hideCode": false, + "hidePrompt": false + }, + "source": [ + "# À propos du calcul de $\\pi$" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "## En demandant à la lib maths\n", + "2\n", + "Mon ordinateur m'indique que $\\pi$ vaut *approximativement*" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "1\n", + "from math import *\n", + "2\n", + "print(pi)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, { "cell_type": "code", "execution_count": null, @@ -9,22 +49,13 @@ } ], "metadata": { + "celltoolbar": "Hide code", "kernelspec": { "display_name": "Python 3", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.4" + "version": "3.6.2" } }, "nbformat": 4, -- 2.18.1