<｜begin▁of▁sentence｜>### Instruction:
Given a social network represented as a graph with clubs as nodes and links between members who interact outside the club, can you calculate the betweenness centrality for each member to determine their influence within the network?
### Response:
import networkx as nx

# Create a graph
G = nx.karate_club_graph()

# Compute the betweenness centrality of the graph
betweenness = nx.betweenness_centrality(G)

# Print betweenness centrality of each node
for node, centrality in betweenness.items():
    print(f'Node {node}: {centrality}')
<|EOT|>
