In Doc2Doc, we have a search function to find the longest word in a document.
Complete the find_longest_word function without a loop. It accepts string inputs, document, and optional longest_word, which is the current longest word and defaults to an empty string.
You can use .split with maxsplit=1 to split a string into a list of [first_word, rest_of_string]
Assume that a "word" means a series of any consecutive non-whitespace characters. For example, find_longest_word("How are you?") should return the string "you?".
Review the provided tests in main_test.py to see the expected behavior, including edge cases.