<｜begin▁of▁sentence｜>### Instruction:
As an industrial designer, you've been tasked with optimizing the design of a new networked product. You have been provided with a list of tuples representing the connections and associated weights in the product's network. Using this data, you need to create a weighted graph and display each edge with its associated weight. Your expertise in network analysis will be key in ensuring the product's optimal functionality and user experience.
### Response:
import igraph as ig

# List of tuples representing edges, each edge has a source, target, and a weight
edge_list = [(0, 1, 2), (1, 2, 3), (2, 3, 4), (3, 4, 5)]

# Create a weighted graph from the edge list
graph = ig.Graph.TupleList(edge_list, edge_attrs='weight', weights=True)

# Retrieve and print the edges and their weights
for edge in graph.es:
    print(f'Edge ({edge.source}, {edge.target}) has weight: {edge['weight']}')
<|EOT|>
