+ 1
Web
Write a function called longest which will take a string of space-separated words and will return the longest one. For example: longest("This is Africa") => "Africa" longest("A") => "A"
1 Answer
0
https://code.sololearn.com/WdgTV99T053k/?ref=app
This will filter some special character only return longest 1st word in sentences.