def meadow(): print ("Hello World you are in a bright and \n\ grass covered meadow - you see a cave and a forest in front of you") choice = input("Type cave or forest") if choice == "cave" : print("Ok you are in a cave") cave() elif choice == "forest" : print("Ok you are in a forest now") forest() else: print("Wrong choice only forest or cave") meadow()