title: Python Message Cipher Indexation Error + WhiteSpace issue
body: <p>I am working on an exercise to encode a message in Python. The following function is supposed to take in a message and a number to shift the letters in each word by that amount in the alphabet i.e. the letter a if moved 3 spaced would become d.</p>
  <p>I have two issues:</p>
  <ol>
  <li>The length of the alphabet is only 26 characters long. If you shift a letter too far right i.e. past the 26th position of Z you get the following error:</li>
  </ol>
  <p>IndexError: string index out of range</p>
  <p>I'd be happy with a fix that shifts the index back to the start again and moves the letter index based on the remainder of whatever goes past 26 characters i.e. if there is a shift of 9 with the char y then the remaining 9 after 26 could be positioned start from a again, making y the letter i.</p>
  <ol start="2">
  <li>If I were to input a message with spaces i.e. &quot;I need help&quot;, the returned characters do not retain the original white space between each word.</li>
  </ol>
  <p>Can anyone help with questions 1 or 2?</p>
  <pre><code>def message_to_code():
  normal_message = input(str(&quot;Please enter a message you would like coded: &quot;))
  Cipher_shift = int(input(&quot;Please enter the whole number you would like to act as the key to hide your message &quot;))
  Alphabet = &quot;abcdefghijklmnopqrstuvwxyz&quot;
  Cipher_message = ' '
  for letter in normal_message:
      Encrypted_letter = Alphabet.find(letter) + Cipher_shift
      Cipher_message = Cipher_message + Alphabet[Encrypted_letter] 
  return print(Cipher_message)
  </code></pre>
  <p>message_to_code()</p>