Writing Donald E. Knuth based code in Python, cont'd

2012-11-12 Thread Juhani Ylikoski
Following comes a working, debugged Python program which computes the permutations of the integers 1, 2, 3 - n after Donald E. Knuth. I present it as an example of writing straightforward, easy Knuth-based code in a language with no GOTO statement. The Python program has been written after the D

Re: Writing Donald E. Knuth based code in Python, cont'd

2012-11-13 Thread Juhani Ylikoski
There were there two (2) bugs in the code that I posted. Thanks anyway. A. J. Y. "Vincent Vande Vyvre" kirjoitti viestissä:mailman.3596.1352758176.27098.python-l...@python.org... Le 12/11/12 22:02, Juhani Ylikoski a écrit : Following comes a working, debugged Python program whic