Generation

generate functionMon, 26 Dec 2022

Add to this code the numbering of all group_list values from 1 dct = convert_to_dict(students) def group_list(dct, gr): group_list = [] for k, v in dct.items(): if gr in v: group_list.append(' '.join(dct[k][0:3])) group_list.sort() return group_list group_list(dct, 'BST161')

def group_list(dct, gr): group_list = [] for k, v in dct.items(): if gr in v: group_list.append(' '.join(dct[k][0:3])) group_list.sort() return group_list group_list(dct, 'BST161')

Questions about programming?Chat with your personal AI assistant