You have recently returned to Australia after a holiday abroad
Ask Expert

Be Prepared For The Toughest Questions

Practice Problems

You have recently returned to Australia after a holiday abroad

Question 3

You have recently returned to Australia after a holiday abroad.  You have some unspent foreign currency that you need to convert back into AUD (Australian Dollars).  Write a program that will allow you to enter two or more amounts of foreign currency and their associated exchange rate.  Convert the amounts back into AUD and print the total sum of AUD received once all conversions are complete. 
Resulting program output might look similar to:
Enter currency amount:  100
Enter exchange rate:  0.75
100.0000 / 0.7500 = 133.33

Enter currency amount:  100
Enter exchange rate:  0.50
100.0000 / 0.5000 = 200.00

Total AUD received = $333.33

Hint
Management # making an empty listwallet=[]def getCurrency():    cur=input('Enter currency amount: ')        # making n condition for exiting program and summing up    if cur == 'n' or cur == 'N':                # suming up contents of the wallet        print('Total AUD received = {:.4...

Know the process

Students succeed in their courses by connecting and communicating with
an expert until they receive help on their questions

1
img

Submit Question

Post project within your desired price and deadline.

2
img

Tutor Is Assigned

A quality expert with the ability to solve your project will be assigned.

3
img

Receive Help

Check order history for updates. An email as a notification will be sent.

img
Unable to find what you’re looking for?

Consult our trusted tutors.

Developed by Versioning Solutions.