Answers for "scheck if list is sorted python"

0

scheck if list is sorted python

test_list1 = sorted(test_list)

if (test_list1 == test_list):
    print("test_list is sorted")
Posted by: Guest on April-01-2021

Python Answers by Framework

Browse Popular Code Answers by Language