Word Search
From Exercism PythonMITOriginal pagePython1 class period1 exercise24 graded tests
README.md
Word Search
Instructions
In word search puzzles you get a square of letters and have to find specific words in them.
For example:
jefblpepre
camdcimgtc
oivokprjsm
pbwasqroua
rixilelhrs
wolcqlirpc
screeaumgr
alxhpburyi
jalaycalmp
clojurermt
There are several programming languages hidden in the above square.
Words can be hidden in all kinds of directions: left-to-right, right-to-left, vertical and diagonal.
Given a puzzle and a list of words return the location of the first and last letter of each word.
Open the
01folder and editmain.py. Run Tests checks it.
For teachers
Word Search
Students solve Exercism's “Word Search” Python exercise in CS Room, with Exercism's own tests.
- Time: 1 class period
- Tests: 24, set up for you when you import the lesson
- Practices: iteration