<｜begin▁of▁sentence｜>### Instruction:
Given a graph with an arbitrary number of edges, can you use the set_attribute_values function from igraph's EdgeSeq module to set a specified edge attribute (e.g., 'weight') to a certain value (e.g., 10.0) for all edges?
### Response:
from igraph import Graph

# Create a graph with 5 vertices and 5 edges
g = Graph([(0, 1), (1, 2), (2, 3), (3, 4), (4, 0)])

# Set the 'weight' attribute for all edges to 10.0
g.es['weight'] = 10.0

# Print out the 'weight' for each edge
for edge in g.es:
    print(f'Edge {edge.index} weight: {edge['weight']}')
<|EOT|>
