From e51eec2c02ae85b9436d330b19f4f13f9974dfd2 Mon Sep 17 00:00:00 2001 From: Samuel MEYNARD Date: Fri, 29 May 2020 17:59:25 +0200 Subject: [PATCH] exercice 1 complement --- module2/exo1/toy_document_orgmode_python_fr.org | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/module2/exo1/toy_document_orgmode_python_fr.org b/module2/exo1/toy_document_orgmode_python_fr.org index 80237d6..829294e 100644 --- a/module2/exo1/toy_document_orgmode_python_fr.org +++ b/module2/exo1/toy_document_orgmode_python_fr.org @@ -1,8 +1,5 @@ -#+TITLE: À propos du calcul de π -#+AUTHOR: Samuel MEYNARD -#+DATE: <2020-05-29 Fri> +#+TITLE: À propos du calcul de $\pi$ #+LANGUAGE: fr -# #+PROPERTY: header-args :eval never-export #+HTML_HEAD: #+HTML_HEAD: @@ -14,11 +11,9 @@ * En demandant à la lib maths Mon ordinateur m'indique que π vaut approximativement: - -#+BEGIN_SRC python -from math import pi -print(pi) -#+END_SRC +#+begin_src python :results output :exports both +from math import * +pi +#+end_src #+RESULTS: -: None -- 2.18.1