<｜begin▁of▁sentence｜>### Instruction:
Given a complete undirected graph with 5 nodes, how can you compute the Kemeny constant of the graph using NetworkX, assuming all edges have the same weight?
### Response:
import networkx as nx

# Create a complete graph with 5 nodes
G = nx.complete_graph(5)

# Compute the Kemeny constant for the graph
kemeny_const = nx.kemeny_constant(G, weight='weight')

print('Kemeny constant:', round(kemeny_const, 10))
<|EOT|>
