<｜begin▁of▁sentence｜>### Instruction:
Given a graph with edges [(0, 1), (1, 2), (2, 0)] and corresponding weights [1, 2, 3], can you retrieve the list of edge attributes for the graph using igraph?
### Response:
import igraph as ig

g = ig.Graph(edges=[(0, 1), (1, 2), (2, 0)])
g.es['weight'] = [1, 2, 3]
edge_attrs = g.edge_attributes()

print('Edge Attributes:', edge_attrs)
<|EOT|>
