title: I want to define a function ‘wordsLength’ that will calculate the length of the words in a given sentence
body: <p>Sample Input – wordsLength “This is Arya”, Sample output – [4,2,4]</p>
  
  <p>I can get the length for a list of string but not for the string itself.</p>