i have a dragon realms game that wont go past asking you what cave to go in here is the code
#this is dragon realms import time import random def displayintro(): print('You arrive outside of 2 caves') print('in 1 cave there is a horrible dragon that wants to kill you, and in the other one there is a friendly dragon who will give you all his money and treasures.') def choosecave(): cave = '' while cave != ('1') or cave != ('2'): cave = input('Which cave will you go into? 1 or 2.') def checkCave(chosencave): print('You walk towards the cave...') time.sleep(2) friendlyCave = random.randint(1, 2) if friendlyCave == cave: print('A dragon comes out and... gives you all its treasure!') elif friendlyCave != cave: print('A dragon comes out and... eats you!') playAgain = 'yes' while playAgain == 'yes': displayintro() caveNumber = choosecave() checkCave() print('Do you want to play again?') playAgain = input()