Print number of words which are greater than 5 letters in a sentence.
If for eg. a sentence: "This is Sololearn Mobile App". Output should be "2" ("Sololearn" and "Mobile" have letters greater than 5). I have tried using List Comprehension in many ways, I ended up getting number of letters in a sentence/word or getting an error. First, I got atleast length of the word. Now, I am not even getting anything and just ruined up everything. This is really funny to me. I also have searched in many sites, but I can't find? The code I did is below; and I lost the understanding of using functions, List comprehension and other coding thing. text= input("enter").split() def greater_5(text): letters= [words[0:] for words in text if str(len(words[0:])>=5)] return str(len(lett)>=5) print(greater_5(text)) I know this so wrong and don't know what I am doing?