<｜begin▁of▁sentence｜>### Instruction:
Given an undirected graph with edge set [(0, 2), (0, 1), (1, 2), (2, 3)] and a vertex cover containing vertices [0, 1], how can you iterate over the vertices in the vertex cover set and print each vertex?
### Response:
import igraph as ig

g = ig.Graph(edges=[(0, 2), (0, 1), (1, 2), (2, 3)], directed=False)
vc = ig.VertexCover(g, [0, 1]) # Assuming vertices 0 and 1 are part of a vertex cover

# Iterate over the vertex cover
for vertex in vc:
    print(vertex)
<|EOT|>
