def strategy_random_sequential(G, colors):
 nodes = list(G)
 random.shuffle(nodes)
 return nodes

def strategy_random_sequential ( G , colors ) : nodes = list ( G ) random . shuffle ( nodes ) return nodes
returns a random permutation of the nodes of g as a list .