i want to find all quoted statements in a text file. i wrote a code and it worked at finding the first quoted statement. however when i used while loop so it can go all over the text and find them all it didn't work. here is the code:
quoteStart = fullText.index("\"")
quoteEnd = fullText.index("\"", quoteStart + 1)
quotedText = fullText[quoteStart:quoteEnd+1]
print ("{}:{}".format(quoteStart, quoteEnd))
print (quotedText)
output :
250:338
"When we talk about the Hiroshima and Nagasaki bombing, we never talk about Shinkolobwe,"
how can i add the while loop to go all over the text?