Write a function all_chars_from_big_words(sentence) that takes a sentence whose words
are separated by spaces and returns the set of all distinct characters, in lowercase,
that appear in words longer than 5 characters. Words of length 5 or less are ignored, so
a sentence with no long word gives an empty set. Use a comprehension rather than an
explicit loop.
Example
all_chars_from_big_words('Hello wonderful world')
-> {'w', 'o', 'n', 'd', 'e', 'r', 'f', 'u', 'l'}
Implement this function:
def all_chars_from_big_words(sentence: str) -> set:
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: sentence.
Input
'Hello wonderful world'
Output
{'d', 'e', 'f', 'l', 'n', 'o', 'r', 'u', 'w'}