Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def getVoyagesUI(self):
- voyageObject_list = self.mainObject.getVoyageLL() # Gets information needed from getvoyage logic layer.
- for voyage in voyageObject_list:
- print("Arriving from {} Arriving at {}".format(voyage.getDepartingFrom(),voyage.getArrivingAt()))
- print("Staff:")
- print("Pilot Id: {} Co-pilot Id: {} \nFlight attendants Id: {}, {} ".format(voyage.getCaptain(),voyage.getCoPilot(),voyage.getFa1(),voyage.getFa2()))
- print("\n")
- input("Press any key to continue.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement