Answered step by step
Verified Expert Solution
Question
1 Approved Answer
check both photos give a option to add trains Using python, develop a simple 'train ticket reservation system' by satisfying the following requirements/contraints. Activity -
check both photos give a option to add trains
Using python, develop a simple 'train ticket reservation system' by satisfying the following requirements/contraints. Activity - Lists & Nested Dictionaries in Python Train Details Train_List [0] Dictionary Dictionary train_number train_name from station to_station days_operation class 1a class_2a ticket_fare no_of seats ticket_fare no_of seats ticket fare no_of seats ticket_fare no_of_seats class_3a class_s! [1] train_number train_name from_station to station days operation class_1a class 2a ticket fare no of seats ticket fare no_of seats ticket fare no of seats ticket_fare no of seats class_3a class si Note: 'N' number of trains will be added/considered in the train_list Options for Admins: . . To add new train details To update ticket_fare (train number & class based) To update no_of seats (train_number based & class based) To view the details of all passenger (including ticket booking details) . . Passenger Details List Passengers [0] Dictionary pass id train number from station to station class no of tickets total fare (1) pass ld train_no from station to station class no of tickets total fare Note: 'M' number of passengers will be added/considered in the passenger_list Options for Passengers: To view the details of all trains To view a particular train details (based on train_no) To view trains operated in a particular day (MON/TUE/WED/THU/FRI/SAT/SUN) To book tickets (train_no & class based) . Constraints: Booked tickets must be sunracted from the source accordingly Each passenger can book thickets for only one time across all traina) Make an Interactive program by letting the admins and passengers to operate the permitted optionsStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started