How do I stop this while
loop?
Sentence = input("Please enter the sentence: ").lower()
if "." in Sentence or "'" in Sentence or "," in Sentence or ";" in Sentence or ":" in Sentence or "/" in Sentence or "?" in Sentence or "!" in Sentence or "-" in Sentence:
while Sentence:
print("Your sentence is invalid. Please enter the sentence without punctuation")
else:
allWords = Sentence.split()
print(allWords)
FindWord = input("Enter the word you are looking for: ").lower()
for L in range(len(allWords)):
if FindWord == allWords[L]:
print("The word <", FindWord, "> is found in", L,"th positions")