Question: Write a Python program that reads from the user an amount of money in USD (US dollars) and prints a table, as shown below, indicating

Write a Python program that reads from the user an amount of money in USD (US dollars) and prints a table, as shown below, indicating how much that amount would be in the top ten currencies of the world.

- The amount displayed ($3,000) is just an example. The user can enter any amount in USD.

- You will need to use 2 lists: one for the currencies names, and another for the currencies rates. These rates are in the order of highest to lowest.

- Your program will not contain conditional statements.

Currency Exchange table

==================================================================

US Dollars --> Exch. Rate --> Currency exch. value

==================================================================

$3000 3.29 9,870 KWD

$3000 2.69 8,070 BHD

$3000 2.60 7,800 OMR

$3000 1.41 4,230 JOD

$3000 1.26 3,780 GBP

$3000 1.20 3,600 KYD

$3000 1.14 3,420 EUR

$3000 1.04 3,120 CHF

$3000 0.75 2,250 CAD

$3000 0.73 2,190 AUD

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!