Answer:
word = input("Please enter the next word: ")
 count = 0
 while word != "DONE":
 count += 1
 print("#{}: You entered the word {}".format(count, word))
 print("A total of {} words were entered.".format(count))
 word = input("Please enter the next word: ")
 print("A total of {} words were entered.".format(count))