Wednesday, 12 August 2020

Program 20

 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