Python Question

Question Description

I’m working on a python question and need guidance to help me learn.

Write a program that assigns seats on an airplane. The airplane has 10 seats. The program should ask if the passenger requires a vegetarian meal or a standard meal. There are only 5 vegetarian meals available. The seats should be numbered 1-10 and no double seat should be assigned. If a passenger requires a vegetarian meal but it is not available , the system should give a choice of standard meal or printout “Next flight with a vegetarian option leaves in 4 hours”. The final printout should be the First Name , Last Name (of the all the passengers), seat number, and a V for Vegetarian or S for standard meal. If all the seats are taken, the program should tell the user so and that “Next flight leaves in 4 hours”.

You must use at a minimum two functions.

Honor code applies. Please no cheating!

Get your college paper done by experts

Do my question How much will it cost?

Place an order in 3 easy steps. Takes less than 5 mins.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *