<｜begin▁of▁sentence｜>### Instruction:
Given an igraph graph object, how can you convert it to a graph-tool graph and print out all the vertices of the converted graph?
### Response:
import igraph as ig

# Assume we have an igraph graph object `g`
g = ig.Graph()
g.add_vertices(3)
g.add_edges([(0, 1), (1, 2)])

# Convert the igraph `g` to a graph-tool graph
graph_tool_graph = g.to_graph_tool()

# Print the vertices of the graph-tool graph
for v in graph_tool_graph.vertices():
    print(v)
<|EOT|>
