<｜begin▁of▁sentence｜>### Instruction:
Given a tree graph with edges [(0, 1), (0, 2), (1, 3), (1, 4), (2, 5), (2, 6)], can you use the to_prufer function in igraph to convert the tree to a Prüfer sequence?
### Response:
import igraph as ig

# Create a simple tree graph with 7 vertices
edges = [(0, 1), (0, 2), (1, 3), (1, 4), (2, 5), (2, 6)]
g = ig.Graph(edges=edges)

# Convert the tree to a Prüfer sequence
prufer_sequence = g.to_prufer()
print('Prüfer sequence:', prufer_sequence)
<|EOT|>
