<｜begin▁of▁sentence｜>### Instruction:
As a network analyst, you would want to retrieve the degree of each vertex in the Zachary's Karate Club graph. Utilizing the `degree` attribute from the networkx library, you can effortlessly achieve this.
### Response:
from igraph import Graph

# Create a graph
graph = Graph.Famous('Zachary')

# Get the size (degree) of all vertices
sizes = graph.vs.get_sizes()

# Print the sizes (degrees)
print(sizes)
<|EOT|>
