Question: How to create a function in python 3 that returns 1 if the list is in ascending order, and otherwise returns 2. No recursion, or
How to create a function in python 3 that returns 1 if the list is in ascending order, and otherwise returns 2. No recursion, or Sort, only using lambda, or map/filter/range
thanks:)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
