<｜begin▁of▁sentence｜>### Instruction:
Given a networkx erdos_renyi_graph with params n=500, p=0.2, can you use ForestFireSampler to sample a subgraph which has 150 nodes and compute the average clustering coefficient for the sampled graph?
### Response:
import networkx as nx
from littleballoffur import ForestFireSampler

G = nx.gnp_random_graph(n=500, p=0.2)

sampler = ForestFireSampler(number_of_nodes=150, p=0.3, seed=10)

sampler_G = sampler.sample(G)

result = nx.average_clustering(sampler_G)

print(result)
<|EOT|>
