Ascending/Descending
Is there an elegant way to determine if the numbers in a list are all ascending/descending in value without asking if (5 < 4) && (4< 3) etc?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit GuptaPosted Apr 19, 2021, 7:48 PM