<｜begin▁of▁sentence｜>### Instruction:
Given a networkx erdos_renyi_graph with n=200 and p=0.3, can you use RandomWalkWithRestartSampler to sample a subgraph which has 30 nodes and print the nodes of the sampled graph starting from node 5 using a restart probability of 0.2?
### Response:
import networkx as nx
from littleballoffur import RandomWalkWithRestartSampler

G = nx.erdos_renyi_graph(n=200, p=0.3)

sampler = RandomWalkWithRestartSampler(30, seed=123, p=0.2)

sampler_G = sampler.sample(G, start_node=5)

print(sampler_G.nodes())
<|EOT|>
