Question: 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
Get step-by-step solutions from verified subject matter experts
