def print_selected_conditions(sAR, sER, IDs): for ids in IDs: print("="*37) print(f"Results for {ids}") print(pretty_print_table(sAR[ids[0]], sER[ids[1]]))