Contact: aviboots(AT)netvision.net.il
41,604 questions
54,252 answers
573 users
lst = ['python', 'php', 'java', 'c', 'c++', 'javascript', 'nodejs'] result = max(len(e) for e in lst) print(result) ''' run: 10 '''
lst = ['python', 'php', 'java', 'c', 'c++', 'javascript', 'nodejs'] result = len(max(lst, key = len)) print(result) ''' run: 10 '''