Question: Write a recursive function named is_decreasing that takes as its parameter a list of numbers. It should return True if the elements of the list
Write a recursive function named is_decreasing that takes as its parameter a list of numbers. It should return True if the elements of the list are strictly decreasing (each element in the array is strictly less than the previous one), but return False otherwise. You can assume the array contains at least two elements.
You may use default arguments and/or helper functions.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
