<｜begin▁of▁sentence｜>### Instruction:
As an Environmental Scientist who studies the natural environment to assess and manage environmental impacts, imagine needing to analyze the interaction patterns of 100 different species in an ecosystem. By utilizing the networkx library, how can a non-growing graph be created to represent these interactions, ensuring a power-law degree distribution with an exponent of 3 and an average degree of 5?
### Response:
from igraph import Graph

# Generate a static power-law graph with 100 nodes
# The exponent for the power-law distribution is 3, and the average degree is 5.
n = 100
exponent = 3
average_degree = 5

# Creating a Static Power Law graph
g = Graph.Static_Power_Law(n, exponent, average_degree, loops=False, multiple=False)

# Plot the graph if desired
ig.plot(g)
<|EOT|>
