Question: Write compute _ merchandise ( ) ' s recursive case to recursively call compute _ merchandise ( ) with month + 1 and amount decreased

Write compute_merchandise()'s recursive case to recursively call compute_merchandise() with month +1 and amount decreased by 200. def compute_merchandise(month, amount):
print(f'month: {month}, amount: {amount}')
if amount <=600:
print(f'Low stock limit is reached in month {month}.')
# Your code goes here
amount = int(input())
compute_merchandise(1, amount)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!