def PrintOut(heroes, ship, threat): seperator = "---------------" print("") print("") print("Heroes") print(seperator) print(*heroes, sep="\n") print("") print("The Raptor") print(seperator) print(*ship, sep="\n") print("") print("The Mission") print(seperator) print(threat) #MAIN print(*Logic.OpeningSpiel(), sep="\n") goAgain = True while goAgain: FullProgram() print("") goAgain = input("Run again? (y/n)") print("") print("") goAgain = True if goAgain is "y" else False quit()
def Text(): return jsonify({ "opening": '<br/>'.join(Logic.OpeningSpiel()), "numberOfHeroes": Logic.NumberOfHeroesText() })