<｜begin▁of▁sentence｜>### Instruction:
Given a directed graph with edge set [(0, 1), (1, 2), (2, 3)], how can you find the edge ID of the edge connecting vertices 1 and 2 considering the direction from 1 to 2?
### Response:
import igraph as ig

# Create an igraph Graph
g = ig.Graph(edges=[(0, 1), (1, 2), (2, 3)])

# Get the edge ID between vertices 1 and 2
eid = g.get_eid(1, 2, directed=True, error=True)

print('Edge ID:', eid)
<|EOT|>
