Need help with this python program step by step to get the same outputAttachment 1Attachment 2Attachment 3For 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 ....