Apr-06-2020, 05:45 PM
Solved it by adding changing to this:
for elem in src_edges_weightless: if collections.Counter(elem) == collections.Counter(possible_edge): if elem[0] == possible_edge[0] and elem[1] == possible_edge[1]: return True