Contact: aviboots(AT)netvision.net.il
41,230 questions
53,732 answers
573 users
lst = ['python', 'c', 'c++', 'javascript', 'java', "c#", "swift", "nodejs"] lst.sort(key = len) print(lst) ''' run: ['c', 'c#', 'c++', 'java', 'swift', 'python', 'nodejs', 'javascript'] '''