Published
- 1 min read
python convert dollar to euro
The solution for this is noted below
python convert dollar to euro
Solution
dollars = float( input("Convert Currency, USD to euros:") )
euros = dollars * 0.89
print(f'${dollars:.2f} to {euros:.2f} euros')
Try other methods by searching on the site. That is if this doesn’t work