Log in
← All problems

Longest word

easyStrings10 XP

Words in sentence are separated by single spaces. Return the longest word; if several are equally long, return the first of them.

Examples

Examples use JSON: true/false/null are True/False/None in Python.

Run examples checks the examples above. Submit also runs 2 hidden tests.