From 7c0c2e591a084d98d3a20e7b30dfe190d451ac8b Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Wed, 12 Jun 2024 16:54:09 +0200 Subject: [PATCH] Remove "Org Babel Ackermann Python test" section --- README.org | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/README.org b/README.org index 3eb2ca4..3a152c3 100644 --- a/README.org +++ b/README.org @@ -5296,38 +5296,6 @@ ruff "$@" | cat # End: #+end_src -*** Org Babel Ackermann Python test -:PROPERTIES: -:CUSTOM_ID: sec:obap-test -:END: - -#+caption[Org Babel Ackermann Python test]: -#+caption: Org Babel Ackermann Python test. -#+name: lst:obap-test -#+header: :wrap "src text -n" -#+begin_src python -n :eval never-export :exports both :session Python -# https://rosettacode.org/wiki/Ackermann_function#Python -# https://www.youtube.com/watch?v=i7sm9dzFtEI - -def ack(M, N): - if M == 0: - return N + 1 - elif N == 0: - return ack(M - 1, 1) - else: - return ack(M - 1, ack(M, N - 1)) - -ack(3, 3) -#+end_src - -#+caption[Org Babel Ackermann Python test result]: -#+caption: Org Babel Ackermann Python test result. -#+name: lst:obap-test-result -#+RESULTS: lst:obap-test -#+begin_src text -n -61 -#+end_src - *** [[https://pip.pypa.io/en/stable/][Package Installer for Python]] :PROPERTIES: :CUSTOM_ID: sec:pip-python