Contact: aviboots(AT)netvision.net.il
39,970 questions
51,912 answers
573 users
s = "python c++ c c# java" words_list = s.split(' ') smallest = min((word for word in words_list if word), key=len) print("The smallest word is: " + smallest) ''' run: The smallest word is: c '''