title: how to take away all the spaces and punctuation in a string? (python)
body: <pre><code>def pre_process(t):
      """ (str) -&gt; str
      returns a copy of the string with all punctuation removed, and all letters set to lowercase. The only characters in the output will be lowercase letters, numbers, and whitespace.
  
      """
  </code></pre>