Write a function called is_sorted that takes a list as a parameter and returns T
Write a function called is_sorted that takes a list as a parameter and returns True if the list is sortedin ascending order and False otherwise.
Answer:
Here’s a Python function called is_sorted that checks if a list is sorted in ascending order:
def is_sorted(stuff):
for i in stuff:
if stuff[i]
