Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def maxword(splitlist): #sorry, still trying to understand loops
- for word in splitlist:
- length = len(word)
- if ??????
- wordlist = input("Enter a sentence: ")
- splitlist = wordlist.split()
- maxword(splitlist)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement