From d864193021f814ecc6ab906f0da7f91a6020c45c Mon Sep 17 00:00:00 2001 From: 19badb2bc0641ea3caacb97d0553a65d <19badb2bc0641ea3caacb97d0553a65d@app-learninglab.inria.fr> Date: Thu, 25 Aug 2022 14:14:41 +0000 Subject: [PATCH] =?UTF-8?q?j'ai=20pas=20pu=20finir=20car=20je=20suis=20enc?= =?UTF-8?q?ore=20d=C3=A9butant=20en=20python?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module2/exo1/toy_notebook_fr.ipynb | 77 ++++++++++++++++++++++++++++-- 1 file changed, 74 insertions(+), 3 deletions(-) diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index 0bbbe37..261ab88 100644 --- a/module2/exo1/toy_notebook_fr.ipynb +++ b/module2/exo1/toy_notebook_fr.ipynb @@ -1,5 +1,77 @@ { - "cells": [], + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "hideCode": true + }, + "source": [ + "# A propos de $ pi$" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "$pi$=périmètre d'un cercle /Diamèt\n", + "\n", + "$pi$= 22/7" + ] + }, + { + "cell_type": "code", + "execution_count": 7, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "3.141592653589793" + ] + }, + "execution_count": 7, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "from math import pi\n", + "pi" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "lien wikipédia pour comprendre l'aiguilles de Buffon : https://fr.wikipedia.org/wiki/Aiguille_de_Buffon" + ] + }, + { + "cell_type": "code", + "execution_count": 15, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "3.128911138923655" + ] + }, + "execution_count": 15, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], "metadata": { "kernelspec": { "display_name": "Python 3", @@ -16,10 +88,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