def adventure_game(): briefing="welcome to a pre-founding era where your mission is to elude crime."; separate_path=lambda path: "safe path" if path=="right" else "dangerous path"; for attempt in range(3): choice=input("choose your path to begin again: left or right? "); print("you have chosen to", separate_path(choice), "- keep your spirits high and always strive for justice!");