Harmonize docstrings. Move redemo from Tools/scripts to Tools/demo. Add a README file to Tools/demo.

This commit is contained in:
Georg Brandl 2010-12-30 22:11:50 +00:00
parent a3fe8e0b9f
commit 856898b395
15 changed files with 188 additions and 143 deletions

View file

@ -1,12 +1,12 @@
#! /usr/bin/env python3
#!/usr/bin/env python3
"""N queens problem.
"""
N queens problem.
The (well-known) problem is due to Niklaus Wirth.
This solution is inspired by Dijkstra (Structured Programming). It is
a classic recursive backtracking approach.
"""
N = 8 # Default; command line overrides