From 4b221e038925309d25037dee204c2f366c1da32a Mon Sep 17 00:00:00 2001 From: ed90e457c5191a7c8addcbfa7b4027f0 Date: Wed, 23 Sep 2020 13:05:35 +0000 Subject: [PATCH] first --- 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..b10c608 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 librairie 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