Extract long words from text
In this exercise, you will extract long words from the given text. Extract all words that have more than 5 characters. Hint: Use
split() to break the text into words, and filter() to select the longer words.Premium
Python
Setting up Python environment... Output