Question: Write a Python function that accepts a sentence and returns the first longest word. Assume the words in the string are separated by whitespaces. Example:
Write a Python function that accepts a sentence and returns the first longest word. Assume the
words in the string are separated by whitespaces.
Example:
Input = Hello World Computer Science is fun
Expected Output = Computer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
