I need to make this program get the users input from individually asking for each word, then putting it into a list and displaying the list as a sentence and then it displays how many words are in the sentence. I just can't seem to figure out how to get out of this While loop. When I put in anything besides "y" or "Y" in the input box it always repeats the input for a word.
Thanks in advance.
list1=[]
again = True
count = 0
choose = str(input('Enter another word? (y or Y for yes, n or N no): '))
while choose == 'y' or 'Y':
again = True
if again == True:
words = input('Enter a word: ')
choose = str(input('Enter another word? (y or Y for yes): '))
else:
again = False
if list1 !=' ':
readList = list1
count += 1
print(readList.capitalize(), '.', '\n')
print('Your sentence has', count, 'words in it.')