mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Harmonize docstrings. Move redemo from Tools/scripts to Tools/demo. Add a README file to Tools/demo.
This commit is contained in:
parent
a3fe8e0b9f
commit
856898b395
15 changed files with 188 additions and 143 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue