Nick's Blog Hopefully interesting.
Posts with the tag python:

Python Word Puzzle Solver

The Problem

We are given 7 numbers that are linked to a number in the alphabet (1=A, 2=B…26=Z). We must then use those 7 numbers to find an english word that fits the clue. Each number, however, is linked to that letter in the alphabet, plus the next 4 letters. This gives us n+4 combinations for the number given. For example, if we are given the number 1, this could be A, B, C, D, E, or F. We then must find the cartesian product of all possible combinations of letters. We must use the 7 numbers given find a single 7 letter word that fits a clue.