CBSE Class 12 Computer Science
Question 23 of 42
Solved 2024 Sample Question Paper CBSE Class 12 Computer Science (083) — Question 5
Back to all questionsdef lenWords(STRING):
T = ()
L = STRING.split()
for word in L:
length = len(word)
T = T + (length, )
return T