Contact: aviboots(AT)netvision.net.il
39,939 questions
51,876 answers
573 users
lst = ['python', 'c', 'c++', 'php', 'java'] lst.sort() print(lst) ''' run: ['c', 'c++', 'java', 'php', 'python'] '''
lst = ['python', 'c', 'c++', 'javascript', 'java', "c#", "swift", "nodejs"] lst = sorted(lst) print(lst) ''' run: ['c', 'c#', 'c++', 'java', 'javascript', 'nodejs', 'python', 'swift'] '''