Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Project: CSCI 195
Views: 5930
Image: ubuntu2004
1
amount_converted = float(raw_input('How many dollars do you want to exchange?\n'))
2
3
currency_name = raw_input('What currency do you want to recieve?\n')
4
5
conversion_rate = float(raw_input ('What is the current conversion rate? (1 dollar = ? ' + currency_name + ')\n'))
6
7
print amount_converted, 'dollars = ', amount_converted * conversion_rate, currency_name
8