Update toy_document_orgmode_python_fr.org

parent 15997b97
...@@ -25,7 +25,8 @@ pi ...@@ -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 Mais calculé avec la *méthode* des [[https://fr.wikipedia.org/wiki/Aiguille_de_Buffon][aiguilles de Buffon]], on obtiendrait
comme *approximation* : 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) np.random.seed(seed=42)
N = 10000 N = 10000
x = np.random.uniform(size=N, low=0, high=1) x = np.random.uniform(size=N, low=0, high=1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment