about | help | code help+videos | done | prefs |
Complete the following python method. the method will accept a value of change, given in pennies and return the minimum number of quarters, dimes nickels and pennies required to make the change. The return statement should look like this: return [quarters, dimes, nickels, pennies] Hint: What types of division are possible in Python? makeChange(98) → [3, 2, 0, 3] makeChange(58) → [2, 0, 1, 3] makeChange(52) → [2, 0, 0, 2] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy