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 , candollar cie Enter the nunbez of U.s. dollars you vish to convert: 100 You received 133.00 Canadian Dollara with your: 100.0 purchase.
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 , candollar cie Enter the nunbez of U.s. dollars you vish to convert: 100 You received 133.00 Canadian Dollara with your: 100.0 purchase.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Python

Transcribed Image 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.
>>>
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY