1 Answer
0
You have to define your own text analyzer. lesson:
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2457/
Solution:
 def splitText(txt):
   wordList = ['']
   wordCount = 0
   for i in range(len(txt)):
      if txt[i]==' ' or txt[i]=='"':
         wordCount += 1
         wordList.append('')
      else:
         wordList[wordCount]+=txt[i]
   return wordList
  Â
print(*splitText(x))
Already coded for you:
https://code.sololearn.com/cT73x1s4e3xs/?ref=app
You can add more filter criteria in the if statement.đ