Find Longest Word in Sentence

# Introduction In this lab, you need to write a program that finds the longest word in a given sentence, considering punctuation marks as part of the word. The program should return the first longest word if there are multiple words with the same length. The function `get_longest_word()` should be defined with a single argument `sentence`, and inside the function, the logic to identify the longest word should be implemented.

|60 : 00

Click the virtual machine below to start practicing