title: SyntaxError: EOL while scanning string literal while using backslash escape
body: <p>I know this is a noob question, but new to Python and trying to understand the following: </p>
  
  <p>Why does the backslash escape work without error here: </p>
  
  <pre><code>&gt;&gt;&gt; print "this is \\\ a string"
  this is \\ a string
  </code></pre>
  
  <p>But when I try: </p>
  
  <pre><code>&gt;&gt;&gt; print "\\\"
  </code></pre>
  
  <p>I get: </p>
  
  <pre><code>SyntaxError: EOL while scanning string literal
  </code></pre>