diff --git a/module2/exo1/toy_document_orgmode_python_fr.org b/module2/exo1/toy_document_orgmode_python_fr.org index 3cf5c458bd4b53eb7062c5f8b40ab6758bc23067..8c918599785af39c8dae953685106f6b5eb5d48f 100644 --- a/module2/exo1/toy_document_orgmode_python_fr.org +++ b/module2/exo1/toy_document_orgmode_python_fr.org @@ -25,7 +25,8 @@ pi Mais calculé avec la *méthode* des [[https://fr.wikipedia.org/wiki/Aiguille_de_Buffon][aiguilles de Buffon]], on obtiendrait comme *approximation* : -#+begin_src python :results value :session *python* :exports bothimport numpy as np +#+begin_src python :results value :session *python* :exports both +import numpy as np np.random.seed(seed=42) N = 10000 x = np.random.uniform(size=N, low=0, high=1)