deflongest_word(text:str)->int:returnmax([len(word)forwordintext.split()ifnotword.isspace()])content="Create a function to return the longest word(s) in a sentance."print(longest_word(content))# 9
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Python solution 🐍