Reference no: EM132180642
You need a Python program for the following question I also have a flowchart attached along with this question.
We are going to build a small airline reservation program...you need to write a Python program that does the following:
1. Ask a person where they want to go...give them a choice of at least THREE different locations...each location should be a DIFFERENT PRICE PER PERSON...
2. Ask how many travelers are going on the trip...
3. For EACH TRAVELER, ask for a name and an email address...
4. Tell the person how much they owe...
5. Store the information on a file...
6. Display a report of ALL people who have booked a vacation...include their name, their email address, the price of their individual ticket and the total cost...
You need to include the following:
1. A text file to store and retrieve the information...remember, all information is cumulative!
2. Create at least THREE functions.
3. Use a LIST or a DICTIONARY.
4. Use at least one LOCAL and one GLOBAL variable...the GLOBAL variable should be used in at least one function.
5. Create Exception Handling for Both Data Entry and File Handling.