(Solved) : Catalog Individual Biographical Data Program Read File Four Lines Per Person Example Rob 3 Q37261319 . . .
a catalog for individual biographical data. The program willread a file that has four lines per person, for example: Rob 39 Mstudent The program will perform the following: open the file forreading and read the data a line at a time (don’t forget to stripany unneeded characters) create a dictionary – each entry of thedictionary will have a key value of the person’s name the remainingvalues will be read into a list, which will be used for the valuefor the entry prompt the user for their choice – see attached filefor sample output with the necessary choices If the user enters ‘X’the program should exit Choice 1 – the program will print thenumber of keys in the dictionary, and the raw data in thedictionary Choice 2 – the program will print each key/value entryin a neatly formatted row for each key/value pair Choice 3 – theprogram will prompt for a name and display neatly formattedinformation for that person Choice 4 – The program will presentchoices for editing data Editing choices –
Expert Answer
Answer to a catalog for individual biographical data. The program will read a file that has four lines per person, for example: Ro…
OR