Respuesta :

i = 0

while True:

   word = input("Please enter the next word: ")

   if word == "STOP":

       break

   i += 1

   print("#"+str(i)+": You entered "+word)

print("All done. "+str(i)+" words entered.")

I hope this helps!