Added question text into solutions
[ou-summer-of-code-2017.git] / 03-door-codes / door-codes-solution.ipynb
index 8e67f00ca1da95cb16cd7812e9d3a0996dd70b82..7c5867f02f39e81d5b49d1a8d59699bba786f78d 100644 (file)
   {
    "cell_type": "code",
    "execution_count": 7,
-   "metadata": {},
+   "metadata": {
+    "collapsed": true
+   },
    "outputs": [],
    "source": [
     "def whash1(word, show_steps=False):\n",
     "\n",
     "\"Multiplying\" letters is done by converting the letters to their position in the alphabet (starting at one) and multiplying. For instance, to multiply `u` by 11, convert `u` to `21`, multiply by 11 (`21` × `11` = `231`), then convert back to a letter (`231` is larger than 26, so it becomes `23`, which is `w`).\n",
     "\n",
-    "Again, anything that isn't a lower-case letter is ignored.\n",
+    "Again, all letters are converted to lower-case and anything that isn't a letter is ignored.\n",
     "\n",
     "For example, to find the code from the pass phrase `the cat`, the code starts as being the first two letters `ri`. When the first letter is encrypted, the first letter of the code becomes:\n",
     "\n",