write a function that, for each whitespace separated word in string s, determines the length of the word and returns a list of such lengths, omitting occurences of the string: is
python
def wordLen(s):
# split into words
words = s.split()
temp = []
# loop throught the words
for word in words:
# if word is 'is' ignore it
if word != 'is':
temp.append(len(word))
# return the list
return temp
FOR HELP PLEASE COMMENT.
THANK YOU
write a function that, for each whitespace separated word in string s, determines the length of...