Nonograms

Initial, probably buggy, load of a literate python program.

Comments are moderated. It may take a few minutes before your comment appears.
Markdown is supported in your comments.

def valid(summary, row):
    "Confirms if a pattern fits the given summary."
    return all(row[i] == v for i,v in summary)
Name:
Mail: (not shown)

Please type this: