<｜begin▁of▁sentence｜>### Instruction:
Given a networkx erdos_renyi_graph with params n=500, p=0.15, can you use SpikyBallSampler to sample a subgraph which has 60 nodes with specified parameters and return the list of sampled nodes?
### Response:
import networkx as nx
from littleballoffur import SpikyBallSampler

G = nx.gnp_random_graph(n=500, p=0.15)
sampler = SpikyBallSampler(60, sampling_probability=0.2, initial_nodes_ratio=0.15, seed=42, max_hops=100000, mode='fireball')
sampler_G = sampler.sample(G)
print(sampler_G.nodes())
<|EOT|>
