Question: In python can anyone help me on this, am stuck at this step, completed all the module for currency exchange in folder currency.py, Need to

In python can anyone help me on this, am stuck at this step, completed all the module for currency exchange in folder currency.py, Need to call that function in diff folder exchangeit.py, Attached a screen shot of what I have now. In python can anyone help me on this, am stuck at this

currency.py testcurrency.py exchangel.py 41. Impleme. x Tools Education Introcs. currency.py x testcurrency.- x exchangelt.py X 41. Impleme. x X 8. Complete the Project 1 2 User interface for module currency S 4 5 When run as a script, this module prompts the user for two currencies and amount. It prints out the result of converting the first currency to the second. 41. Implement the Application Script Now that you have completed the module currency.py you are ready to work on the script exchangeit.py. This script is just that - a script. It should not contain any function definitions. It should just contain a sequence of Python statements that Ask the the user for a first currency code Ask the the user for a second currency code Ask the the user for an amount (of the first currency) Prints the conversion to the second currency 6 7 8 9 9 10 Author: Date: import currency 11 12 13 14 15 The following example shows you what the script should do when you run it. src = input("3-letter code for original currency: ") dst = input("3-letter code for the new currency: ") amt = input("Amount of the original currency: ") p=float(at) x=currency.exchange (src, dst,P) 16 17 18 print ("You can exchange '+str (amt)+' '+str(src)+' for '+ str(x) + str(dst)+'.') + 19 codio@mike-panther:~/workspaces python3 exchangeit.py 3-letter code for original currency: USD 3-letter code for the new currency: EUR Amount of the original currency: 2.5 You can exchange 2.5 USD for 2.216 EUR. Notice the wording, spacing, and punctuation. In addition, the final print statement rounds the exchange amount to three decimal places. Your implementation must match this. Check the Script You may run this test multiple times. Check It! LAST RUN on 2/5/2021, 8:17:11 PM Xthe print statement does not put the final amount in the right place

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!