What are other ways to split a string without using the split() method? For example, how could [\'This is a Sentence\'] be split into [\'This\', \'is\', \'a\', \'Sentence\']
sentence = 'This is a sentence' word="" for w in sentence : if w.isalpha(): word=word+w elif not w.isalpha(): print(word) word="" print(word)