<｜begin▁of▁sentence｜>### Instruction:
Given a famous network 'Zachary's Karate Club' graph, can you calculate the betweenness centrality for each member of the club?
### Response:
import igraph as ig

g = ig.Graph.Famous('Zachary')

# Calculate betweenness scores for all nodes
betweenness_scores = g.betweenness()

# Print the betweenness scores
print(betweenness_scores)
<|EOT|>
