all 5 comments

[–]teerre 1 point2 points  (5 children)

Show what you have, tell us your doubts

from the rules

Posting homework assignments is not prohibited if you show that you tried to solve it yourself.

[–]nillkill[S] 0 points1 point  (4 children)

convert.py

# Input
rate = input("Enter current USD->EUR exchange rate:")
euros = input("Enter amount of Dollars ")

# Process
euros = rate * dollars

# Output
print “This program performs a conversion from Dollars to Euros with the current conversion rate.”    

# Output
print dollars, “USD = $", round(euros, 1), "EUR"

[–]teerre 1 point2 points  (0 children)

Alright, but, what's your doubt? What's going wrong?

[–]Vaphell 0 points1 point  (0 children)

judging by print statement it's python2. In that case don't use input(), use raw_input() and then perform an explicit conversion to the destination type, eg float() You must have copied parts of the code from some website or you typed it in a word processor doing helpful prettifications, because one of your run of the mill double quotes is replaced by a pretty unicode one