# ****************************************************************************************************** # Data is imported from the included awards_data.py file. Both files must remain in the same directory. # Do not modify the code in this section. # You may not hardcode (manually enter in the code) any other data. from awards_data import SAG, oscars, NBR, ISA, GLAAD, NAACP award_list_names = ['sag', 'oscars', 'nbr', 'isa', 'glaad', 'naacp'] award_list_options = [SAG, oscars, NBR, ISA, GLAAD, NAACP] # ****************************************************************************************************** Program has to ask what list you want to print from the list of lists (this)
award_list_options = [SAG, oscars, NBR, ISA, GLAAD, NAACP] so if the user inputs sag, it should print the values of SAG from the original list of SAG which was imported before
this is the awards_data file if it is relevant
SAG = ["1", "2"] oscars = ["1", "3", "4", "5", "3", "1", "6", "7", "3", "8", "1", "32", "3", "2"] NBR = ["2", "9", "3", "10", "Close", "Sr.", "6"] ISA = ["1", "11", "12", "1", "13", "Tár", "1"] GLAAD = ["15", "16", "17", "18", "19"] NAACP = ["8", "20", "16", "21", "22"] for input sag the output should be:
1,2 for input oscars, OSCARS, oscarS or with whitespace should be
1,3,4,5,3,1,6,7,3,8,1,32,3,2 all separated with new line