<｜begin▁of▁sentence｜>### Instruction:
As a logistics coordinator, you oversee the management of transportation, warehousing, and distribution operations. Today, you need to determine the capacity and load of different transportation vehicles in order to optimize your fleet for the upcoming delivery schedule. Specifically, you require a breakdown of the load capacity for each vehicle and the total capacity available. This information will assist in planning the most efficient transportation routes and schedules.
### Response:
from igraph import Graph

# Define the edges of the graph
g = Graph(edges=[(0, 1), (0, 2), (1, 2), (1, 3)])

# Get the degree of vertex 0
degree_of_vertex_0 = g.degree(0)
print(f'Degree of vertex 0: {degree_of_vertex_0}')

# Get the degrees of all vertices
degrees = g.degree()
print(f'Degrees of all vertices: {degrees}')
<|EOT|>
