What a glorious Monday it is!
Today's goal is to create a function that takes in a word (no spaces or dashes) and determines if that word is created from two or more smaller words. For instance the word "newspaper" is a combination of "news" and "paper". All smaller words must contain at least 2 letters, thus all words passed to this function must be 4 characters or more. Here is an English dictionary to get you started. Feel free to use any language dictionary you want though.
Anonymous - 8 years, 1 month ago
$ python comboword.py Enter a word> crossword [['cros', 'sword'], ['cross', 'word']]