Python code won't run first line prompt
<p>Why won't the following python code immediately run the first line and prompt <code>how many years?</code> ? </p>

<pre><code>years=input('how many years?')

amount=input('how much money?')

if amount &lt; 10000:
    interest = 1.1
    total = amount * interest
    print total
else amount &gt;= 10000:
    interest = 1.2
    total = amount * interest
    print total'
</code></pre>
