<｜begin▁of▁sentence｜>### Instruction:
As a meteorological technician, you may want to analyze the network of weather monitoring stations to understand the proportion of mutual data exchange between them. This can help in evaluating the reliability and effectiveness of the network for collecting and sharing weather data. By using the igraph library, you can calculate the reciprocity of the connections between the stations, which will provide insights into the extent of reciprocal data exchange within the network.
### Response:
import igraph as ig

# Create a directed graph with edges
edges = [(0, 1), (1, 2), (2, 0), (1, 0)]
g = ig.Graph(edges=edges, directed=True)

# Calculate the reciprocity of the graph
recip = g.reciprocity(mode='default')
print('Reciprocity:', recip)
<|EOT|>
