+ 1
How can I do this.!
Suppose I take a list as input containing words How can I print all the words in the list excluding the shortest word
6 Respuestas
+ 3
#Python
inp = input().split() #Splitting input
lst = sorted(inp, key = len) #Sorting list from shortest to longest
lst.pop(0) #Removing shortest word
print(*lst) #Printing every value in lst
+ 1
any
+ 1
thank you
0
which language
0
thank you