<｜begin▁of▁sentence｜>### Instruction:
Given an Erdos-Renyi graph with 10 nodes and 20 edges, can you perform a random walk of 10 steps starting from the vertex 0 on the graph? You must return a list of the vertex ids visited during the walk.
### Response:
from igraph import Graph

# Create a graph
g = Graph.Erdos_Renyi(n=10, m=20)

# Start a random walk of 10 steps from vertex 0
walk_result = g.random_walk(start=0, steps=10, mode='ALL', stuck='return', weights=None, return_type='vertices')

# Print the vertices visited during the random walk
print(walk_result)
<|EOT|>
