l = "Hello world is me"
words_ = l.split()
print(l.split())
for item in words_ :
if len(item) < 5 :
print('Words with length less than 6:', item )
elif len(item) == 5 :
print('Words with length 5:', item )
This is my code, however I want it to print the number of words at the specified length, but instead it prints the words itself. Any suggestions?