From 0cedbe83e136508f0ce8ab3b05ce91adee237da9 Mon Sep 17 00:00:00 2001 From: fe77b5323a938dbf30e79610829bed48 Date: Thu, 26 Nov 2020 16:46:51 +0000 Subject: [PATCH] Premiers pas --- module2/exo1/toy_notebook_fr.ipynb | 54 ++++++++++++++++++++++++++++-- 1 file changed, 51 insertions(+), 3 deletions(-) diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index 0bbbe37..01b105d 100644 --- a/module2/exo1/toy_notebook_fr.ipynb +++ b/module2/exo1/toy_notebook_fr.ipynb @@ -1,5 +1,54 @@ { - "cells": [], + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# toy_notebook_fr" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## March 28,2019\n" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "1.A propos du calcul de :pi:\n", + "1.1 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, + "metadata": {}, + "outputs": [], + "source": [] + } + ], "metadata": { "kernelspec": { "display_name": "Python 3", @@ -16,10 +65,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