24 May Tuesday 17:30 Python Homework 21.05.18.
Posted at 17:02h in Uncategorized 0 Comments
Make a function that will allow you to print any name, address, street, city, state or province, zip or postal code, and country in the world. (Hint: It needs seven arguments. You can pass them as individual arguments or as a list.)
Write a function to calculate the total value of some change—quarters, dimes and nickels. 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 Sample output: total is $1.70