Remove words shorter than n characters from a list.
Implement this function:
def remove_short_words(words: list, n: int) -> list:
Write the function only — the arguments are read for you and the return value is printed automatically.
Arguments arrive as one Python literal per line, in this order: words, n.
Input
['hi', 'hello', 'hey', 'greetings']
3
Output
['hello', 'hey', 'greetings']