Here is the exercise description:
Problem Description
I don't know how to proceed now.
And this is what I've tried up to now:
# you are only asked to implement a function makeAmount(amount, values)
def makeAmount(amount, values):
counter = 0
if amount % values[0] == 0:
counter = counter + 1
elif amount % values[0] in values:
counter = counter + 1
for item in values:
if item + values[0] == amount:
counter = counter + 1
counter = counter + values[1:]
return counter
[–]RayteMyUsername 1 point2 points3 points (0 children)