<｜begin▁of▁sentence｜>### Instruction:
Given a Watts-Strogatz small-world network with 30 nodes, each connected to 3 nearest neighbors, and a rewire probability of 0.1, what is the small-world coefficient (omega) of the graph?
### Response:
import networkx as nx
from networkx.algorithms.smallworld import omega

# Create a graph
G = nx.watts_strogatz_graph(30, 3, 0.1)

# Calculate the small-world coefficient (omega)
om = omega(G, niter=5, nrand=10, seed=None)

print(f'The small-world coefficient (omega) of the graph is: {om}')
<|EOT|>
