From a638871439fbf553585db61b57676f935f83eb43 Mon Sep 17 00:00:00 2001 From: 633ac7771d4bd5836f2786a882e8ada7 <633ac7771d4bd5836f2786a882e8ada7@app-learninglab.inria.fr> Date: Tue, 5 Aug 2025 13:30:45 +0000 Subject: [PATCH] mooc --- module2/exo1/.ipynb | 52 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 module2/exo1/.ipynb diff --git a/module2/exo1/.ipynb b/module2/exo1/.ipynb new file mode 100644 index 0000000..38e2731 --- /dev/null +++ b/module2/exo1/.ipynb @@ -0,0 +1,52 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# À propos du calcul de $\\pi$" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "## En demandant à la lib maths\n", + "Mon ordinateur m'indique que $\\pi$ vaut *approximativement*" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from math import *\n", + "print(pi)" + ] + } + ], + "metadata": { + "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" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} -- 2.18.1