Question: This is a python 3 program: I have this program where it opens a file and creates a list of each line and then creates
This is a python 3 program:
I have this program where it opens a file and creates a list of each line and then creates a dictionary where the first index of each line are the key and the rest would be the values. It then prompts a user input where it asks for a key. It would then search for one of the items where it contains a '1' and add that item plus the remaining items to a new list. What I am having difficulties is once that new list is made, it should search for the rest of the keys to that have that identical list in its value and then print out the key. This is what I have so far:
and this is the file that im using.

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
