Over the summer you plan to travel to Mexico, Brazil and Canada and would like to know what the currency exchange rates between these countries and the U.S. write a Python program using 3functions to...

Python
Over the summer you plan to travel to Mexico, Brazil and<br>Canada and would like to know what the currency exchange<br>rates between these countries and the U.S. write a Python<br>program using 3functions to help you with your purchases of the<br>appropriate foreign currencies. Also create and call a main<br>function to encapsulate your three conversion functions. Format<br>all currencies to 2 decimal places<br>1 Mexican Peso equals .053 U.S. Dollar<br>will get you 18.92 Mexican Pesos<br>1 Canadian Dollar =.75 U.S. Dollar<br>will get you 1.33 Canadian Dollars<br>1 Brazilian Real = .25 U.S. Dollar<br>will get you 3.85 Brazilian Reals<br>1 U.S. Dollar<br>1 U.S. Dollar<br>1 U.S Dollar<br>RUBRIC<br>Documentation<br>_Function declared U.S. -Mexico<br>_Function declared U.S. Brazil<br>Function declared U.S Canada<br>_Function call Mexico<br>Function call Brazil<br>Function call Canada<br>_Format all currencies to 2 decimal places<br>Properly use of Main function<br>Program describes the exchange rate. (>> "/>
Extracted text: Over the summer you plan to travel to Mexico, Brazil and Canada and would like to know what the currency exchange rates between these countries and the U.S. write a Python program using 3functions to help you with your purchases of the appropriate foreign currencies. Also create and call a main function to encapsulate your three conversion functions. Format all currencies to 2 decimal places 1 Mexican Peso equals .053 U.S. Dollar will get you 18.92 Mexican Pesos 1 Canadian Dollar =.75 U.S. Dollar will get you 1.33 Canadian Dollars 1 Brazilian Real = .25 U.S. Dollar will get you 3.85 Brazilian Reals 1 U.S. Dollar 1 U.S. Dollar 1 U.S Dollar RUBRIC Documentation _Function declared U.S. -Mexico _Function declared U.S. Brazil Function declared U.S Canada _Function call Mexico Function call Brazil Function call Canada _Format all currencies to 2 decimal places Properly use of Main function Program describes the exchange rate. ("You received ?? pesos with your Sdollars purchase") SEE EXAMPLE OUTPUT BELOW: Enter currency you wish to buy: peao p. zeals I. candollar Enter the nunber of U.s. dollazs you vish to convert: 100 You received 133.00 Canadian Dollara vith your: 100.0 purchase. >>>

Jun 02, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here