Program 20
Write a function called is_sorted that is given a list and returns True if the list is sorted and False otherwise.
Program:
Output:
No comments:
Post a Comment