def get_unique_groups(input_list):
out_list = []<EOL>for item in input_list:<EOL><INDENT>if item not in out_list:<EOL><INDENT>out_list.append(item)<EOL><DEDENT><DEDENT>return out_list<EOL>
Function to get a unique list of groups.