Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- text = input()
- words = text.split()
- word = words[0]
- for i in words:
- if len(i) > len(word):
- word = i
- print(word)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement