Let’s say I have a function called possible_change_combinations inPython. Basically, I have to pass in a number, which will bemultiplied by 100 to represent the amount of “money” that Iinputted. This function can only use 50, 20, and 10 dollar bills. Imust have at least 5 bills of each kind. The function must returnall possible combinations that will add up to the goal sum. How canI write this function?
More details:
method signature: possible_change_combinations(x)
Invoking possible_change_combinations(10) would give us a goal sumof 1000 dollars. One possible combination would be 65 tens, 5twenties, and 5 fifties. In a list, it would look like [65,
PayPal Gateway not configured
PayPal Gateway not configured