def choose_cave():

while True:
  cave = input("which cave will you choose ?.")
if cave == 1:
    print("you find the dragon .")
  elif cave == 2:
   print("this cave will lead you to the outside!")
   else :
       print("wrong!choose one of the two caves.")