Advertisement
Guest User

Untitled

a guest
Dec 8th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. def getVoyagesUI(self):
  2. voyageObject_list = self.mainObject.getVoyageLL() # Gets information needed from getvoyage logic layer.
  3. for voyage in voyageObject_list:
  4. print("Arriving from {} Arriving at {}".format(voyage.getDepartingFrom(),voyage.getArrivingAt()))
  5. print("Staff:")
  6. print("Pilot Id: {} Co-pilot Id: {} \nFlight attendants Id: {}, {} ".format(voyage.getCaptain(),voyage.getCoPilot(),voyage.getFa1(),voyage.getFa2()))
  7. print("\n")
  8. input("Press any key to continue.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement