Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
Exercise 2.1: (2.5 points) Write a program in python that asks the user for the value of a coin. Then determine what kind of coin
Exercise 2.1: (2.5 points) Write a program in python that asks the user for the value of a coin. Then determine what kind of coin they entered using this information. 1 = Penny 5 = Nickle 10 = Dime 25 = Quarter 50 = Half dollar Provide a message if you enter any other value that does not match. Sample 1: Enter a coin value: 1 Thats a penny! Sample 2: Enter a coin value: 80 Thats not a valid coin!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
![blur-text-image](https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-text-image.webp)
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
![blur-text-image](https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-subtext-image.webp)
Step: 3
![blur-text-image](https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-subtext-image.webp)
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started