Sorting

Report a typo

Implement a function that returns True when the given input is in descending order, otherwise it returns False.

There are many ways to solve this task, but please try to solve using recursion.

Sample Input 1:

9876543210

Sample Output 1:

True
Write a program in Python 3
def is_sorted (n):
pass

print(is_sorted(int(input())))
___

Create a free account to access the full topic