﻿secret_exit = "dog"

word = input("Enter a word of to exit the dungeon...")

while word != secret_exit:
    
    word = input("Enter the secret word to exit this loop  ")
    if word == secret_exit:
        break
print("You've successfully left the loop.")
857efb85a10dad0760783dc7742e4f52ca091b25
﻿secret_exit = "dog"

word = input("Enter a word of to exit the dungeon...")

while word != secret_exit:
    
    word = input("Enter the secret word to exit this loop  ")
    if word == secret_exit:
        break
print("You've successfully left the loop.")