03 Dec Markham Saturday 9:30 Python Homework 11.30.
Question:
Write a function to calculate the total value of some change—quarters, dimes, nickels, and pennies. The function should return the total value of the coins. Then write a program that calls the function. The output should look like this when it runs:
Sample input:
quarters: 3
dimes: 6
nickels: 7
pennies: 2
Sample output:
total is $1.72
Class review:
Sorry, the comment form is closed at this time.