<｜begin▁of▁sentence｜>### Instruction:
Given a networkx erdos_renyi_graph with params n=600, p=0.3, can you use LoopErasedRandomWalkSampler to sample a subgraph with 150 nodes and print the nodes and edges of the sampled graph?
### Response:
import networkx as nx
from littleballoffur import LoopErasedRandomWalkSampler

G = nx.gnp_random_graph(n=600, p=0.3)
sampler = LoopErasedRandomWalkSampler(150, seed=10)
sampler_G = sampler.sample(G)
print(sampler_G.nodes)
print(sampler_G.edges)
<|EOT|>
