Create a program that allows the user to enter the type of coin to be evaluated and the number of coins. The program should calculate the total weight of the coins and the height of the coins when stacked. Name the program coins.py. Use the table below for weights and height.
RUN EXAMPLE:
Enter 1 for penny
Enter 5 for nickel
Enter 10 for dime
Enter 25 for quarter
Enter 50 for halfdollar
Enter 100 for dollar
Enter number: 5
Enter number of coins: 10
Total Weight: 50 g
Height of Coin Stack: 19.5 mm
| COIN | WEIGHT | HEIGHT |
| $0.01 |
2.500g |
1.52mm |
| $0.05 |
5.000g |
1.95mm |
| $0.10 |
2.268g |
1.35mm |
| $0.25 |
5.670g |
1.75mm |
| $0.50 |
11.34g |
2.15mm |
| $1.00 |
8.10g |
2.00mm |
g = grams
mm = millimeters