Commit e52c5d74 authored by Dave Lane's avatar Dave Lane


parent 7c1dcbf5
This is a short Python script written by Nate, James, and me (but mostly Nate). It was written as part of a Coder Dojo challenge at a recent Christchurch Python Meetup:
The goal of the challenge was to hack up a wee app to create the chain of valid dictionary words between any two words of the same length, in which each link of the chain only allowed a single letter
to change. This code works, but depends on you having a british-english dictionary on your system - ours was on an Ubuntu-based system (probably same for Debian or Mint).
It depends on Python 2.7.x and allows you to specify two words of the same length and relatively efficiently creates the word-chain between them (assuming that a chain exists for those given words).
Further opimisations would be useful and welcome!
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment