Question: PYTHON ENVIRONMENT. NOT C++. You will write a program that reads a data file. The data file contains ticket IDs and ticket prices. Your job
PYTHON ENVIRONMENT. NOT C++.
You will write a program that reads a data file. The data file contains ticket IDs and ticket prices. Your job is to read these tickets (and prices). find minimum, maximum and average ticket prices and output a report file. The report file should look exactly (or better than) the one attached (output.txt).
Input:
A31 149.99 B31 49.99 A41 179.99 F31 169.99 A35 179.99 A44 169.99
Output:

TICKET REPORT There are 6 tickets in the database. Maximum Ticket price is $179.99 Minimum Ticket price is $49.99 Average Ticket Price is $XXX.XX Thank you for using our ticket system
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
