Question: = zyBooks My library > IT 740 Introduction to Scripting v3 home> 5.13: Keyword arguments and default parameter values zyBooks catalog Help/FAQ Alleen Altura Feedback
= zyBooks My library > IT 740 Introduction to Scripting v3 home> 5.13: Keyword arguments and default parameter values zyBooks catalog Help/FAQ Alleen Altura Feedback CHALLENGE ACTIVITY 5.13.1: Return number of pennies in total Write a function number of pennies() that returns the total number of pennies given a number of dollars and (optionally) a number of pennies. Sample output with inputs: 564 506 400 1 2 Your solution goes here" 3 4 print number_of_pennies(int(input), int(input))) Hoth dollars and pennies 5 print number_of_penniescint(input>>> Dollars only
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
