Why the error occuring?
states_needed = set([âmtâ, âwaâ, âorâ, âidâ, ânvâ, âutâ, "ca", "az"]) stations = set () stations[âkoneâ] = set([âidâ, ânvâ, âutâ]) stations[âktwoâ] = set([âwaâ, âidâ, âmtâ]) stations[âkthreeâ] = set([âorâ, ânvâ, âcaâ]) stations[âkfourâ] = set([ânvâ, âutâ]) stations[âkfiveâ] = set([âcaâ, âazâ]) finel_station = {} while states_needed: states_covered = {} best_station = None for states, station in stations.items(): covered = states_needed & states if len(covered)>len(states_needed): best_station = station states_covered = covered states_needed -= states_covered final_station.add(best_station) OUTPUT :- File "main.py", line 1 states_needed = set([âmtâ, âwaâ, âorâ, âidâ, ânvâ, âutâ, "ca", "az"]) ^ SyntaxError: invalid character in identifier