def explore_mythology(keyword): if keyword == "unexposed": preexplanation = "before we delve into stories rarely heard,"; reports = []; for myth in global_mythology_database: if myth.status == "unexposed": reports.append(myth); if len(reports) > 0: for report in reports: print(preexplanation + " let's leave out the commonly known tales and begin afresh with these unexposed myths."); break; else: print("no unexposed myths found, let's search again with a new perspective.")