From 6473e6230ef67d00043dd24595af75d549f8eeb1 Mon Sep 17 00:00:00 2001 From: 3d1cde3613956104173df2e357578f04 <3d1cde3613956104173df2e357578f04@app-learninglab.inria.fr> Date: Sun, 3 May 2020 12:41:08 +0000 Subject: [PATCH] =?UTF-8?q?premier=20partie=20demander=20=C3=A0=20la=20mat?= =?UTF-8?q?h=20lib?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module2/exo1/toy_notebook_fr.ipynb | 52 ++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 3 deletions(-) diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index 0bbbe37..a148a05 100644 --- a/module2/exo1/toy_notebook_fr.ipynb +++ b/module2/exo1/toy_notebook_fr.ipynb @@ -1,5 +1,52 @@ { - "cells": [], + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# A 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, + "metadata": {}, + "outputs": [], + "source": [] + } + ], "metadata": { "kernelspec": { "display_name": "Python 3", @@ -16,10 +63,9 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.3" + "version": "3.6.4" } }, "nbformat": 4, "nbformat_minor": 2 } - -- 2.18.1