Contact: aviboots(AT)netvision.net.il
43,976 questions
57,432 answers
573 users
lst = ["c", "c++", "java", "python"] ascendingorder = all(s < nexts for s, nexts in zip(lst, lst[1:])) print(ascendingorder) ''' run: True '''