diff --git a/module2/exo1/toy_document_orgmode_python_en.org b/module2/exo1/toy_document_orgmode_python_en.org index 31674aa8fecd20606e69214f9e29caa2e883dbac..e6bfc9d10524a0fd380c21287c3850cec80f2c0d 100644 --- a/module2/exo1/toy_document_orgmode_python_en.org +++ b/module2/exo1/toy_document_orgmode_python_en.org @@ -55,6 +55,7 @@ print(matplot_lib_filename) #+end_src It is then straightforward to obtain a (not really good) approximation to $\pi$ by counting how many times, on average, $X^2 + Y^2$ is smaller than 1: + #+begin_src python :results output :session *python* :exports both 4*np.mean(accept) #+end_src