Write longest_word(sentence) that returns the longest word, ignoring the punctuation characters .,!?. If several words share the maximum length, return the first one.
longest_word('Hello, analytics world!')
→ 'analytics'longest_word('one two six')
→ 'one'Submit runs 4 tests, including hidden edge cases.
Run your code to see the output here.