For the program do the following : Read the data from the input file into a list 2. Strip the list of all the endline characters In 3 ....
Need help with this python program step by step to get the same output
- Attachment 1
- Attachment 2
- Attachment 3
For the program do the following :1 . Read the data from the input file into a list2. Strip the list of all the endline characters " In "3 . This will create a rather long , unbroken list4 . Now break up and regroup the list so that the information about a single airline isin one list element - this step reads harder than it is . It is really a simple step andmust be done within a loop5 . Lastly , you will display this regrouped list as a table with the proper headings6 . Use proper exception handling if the input file is not found . The program mustnot crash , rather it must exit or restart gracefully with an exception being raisedand handled .There are NO input validations required for this program except ( no pun intended ) forthe exceptions listed above .See the sample output . format the final output in tabular form .
Show more