<｜begin▁of▁sentence｜>### Instruction:
Given a graph with edges [(0, 1), (1, 2), (2, 3), (0, 3), (1, 3), (1, 4)], can you calculate the edge betweenness for each edge using igraph?
### Response:
from igraph import Graph

# Assume we have a graph
edges = [(0, 1), (1, 2), (2, 3), (0, 3), (1, 3), (1, 4)]
g = Graph(edges=edges)

# Calculate edge betweenness
edge_betweenness = g.edge_betweenness()

# Print the edge betweenness
for edge, betweenness in zip(g.es, edge_betweenness):
    print(f'Edge {edge.tuple} has betweenness: {betweenness}')
<|EOT|>
