def planted_partition_graph(l, k, p_in, p_out, seed=None, directed=False):
 return random_partition_graph(([k] * l), p_in, p_out, seed, directed)

def planted_partition_graph ( l , k , p_in , p_out , seed = None , directed = False ) : return random_partition_graph ( ( [ k ] * l ) , p_in , p_out , seed , directed )
return the planted l-partition graph .