list=['apple','mango','banana']


#print index whose length of the list value less then 5
for (key , value) in enumerate(list):
    if (len(value) > 5 ):
            print key,value,len(value)

'''
will print the list length greate then 5 
'''
print [value for (key , value) in enumerate(list) if len(value) < 5]



