Syntax error Python
<p>I'm new to Python and trying to get the following simple program to run. Getting a syntax error after the colon in the first if clause.</p>

<p>Could someone tell me why and how to fix it and rest of program.</p>

<p>Tried many different things, nothing works.</p>

<p>Thank you!!!</p>

<pre><code># calculate salary

yearly = rate * 40 * 52
weekly1 = rate * 40
weekly2 = rate / 52
hourly = (rate / 52) / 40


print "Welcome to Salary Calculator"
calc = raw_input ("Convert hourly (h) or yearly (y) wage? "


# yearly wage
if calc == "y":
    raw_input ("Hourly wage: ") % rate  
    print "Weekly wage: " % weekly1
    print "Yearly wage: " % yearly

# hourly wage
elif calc == "h":
    raw_input("Yearly wage: ") % rate
    print "Weekly wage: " % weekly2
    print "Hourly wage: " % hourly


else:
    print "That is not a valid response, try again."
</code></pre>

<p>return</p>
