Question: Design a program that helps to seat passengers on a plane. if their ticket number is an odd number then they are seated in the
Design a program that helps to seat passengers on a plane. if their ticket number is an odd number then they are seated in the economy class in aisle A. If their ticket number is even then they are seated in the economic class in aisle B. If the ticket number is even and greater than 12 then they are seated in first class. Output to each passenger what aisle they belong to after they are asked to input their ticket number.
Step by Step Solution
There are 3 Steps involved in it
def seatpassengerticketnumber if ticketnumber 2 0 if ticket... View full answer
Get step-by-step solutions from verified subject matter experts
