Python program, taking an input from the user, convert miles to kilometers
<p>Here is the code I have so far, when I run it I get a syntax error and I don't know why</p>

<pre><code>#input from the user 
def main()
miles = float(input("Enter a distance in miles: "))


conv_fac = 1.609 #conversion factor 

#calculating how many kilometers 
kilometers = miles * conv_fac


print("The distance in kilometers is: ", kilometers)

main()
</code></pre>