Python Syntax Error: expected an intended block
<h1>  So first i clicked on Run Module</h1>

<p><a href="http://i.stack.imgur.com/N9BfB.png" rel="nofollow"><img src="http://i.stack.imgur.com/N9BfB.png" alt="So first i clicked on Run Module "></a></p>

<h1>Then this came up</h1>

<p><a href="http://i.stack.imgur.com/Ei0U8.png" rel="nofollow"><img src="http://i.stack.imgur.com/Ei0U8.png" alt="Error Image 2"></a></p>

<p><strong>My code</strong></p>

<pre><code>import time
    print("First we need to know you.")

print("Enter your name please.")
time.sleep(2)
name = input("Name: ")
print("Welcome, " + name + "!")
time.sleep(3)
criminal = input("Are you a criminal?: ")
if criminal=='Y':
</code></pre>

<p><strong>Right here it highlights print as red</strong> </p>

<pre><code> print('Oh no')
    elif criminal=='N':
    print('Thank god!')
</code></pre>

<p>You need to indent after an <code>if</code> and the <code>elif</code>:</p>

<pre><code>if criminal=='Y':
    print('Oh no')
elif criminal=='N':
    print('Thank god!')
</code></pre>

<p>Also, don't indent after the <code>import</code>:</p>

<pre><code>import time
print("First we need to know you.")
</code></pre>

python syntax-error