Python EOF while scanning triple-quoted string literal
<p>I am trying to learn Python and while doing an exercise this error showed. My code:</p>

<pre><code>a = "Half of \nthis sentence."
b = "\tSo far away."
"""
print "Hi my name is %s" % 'Jonas'
</code></pre>

<p>It's the triple quotes but why? I was just trying to make a space empty under the line so I could have a gap between the two.</p>