Any mistake is there?
list1 = []
len = int(input('Enter the lenght you want : '))
for k in range(len):
alp = input('Enter your word : ')
list1.append(alp)
print()
print('The original List : ' , list1)
temp1 = 0
temp2 = 0
words = alp.split(" ")
for word in words:
if len(word) >= 5:
temp1 += 1
else :
temp2 += 1
print(temp1)
print(temp2)