<｜begin▁of▁sentence｜>### Instruction:
Given a graph with the edge set [(0, 1), (1, 2), (2, 3), (3, 0), (1, 3)], can you use the 'degree' function in igraph to find both the degree of a single specified vertex and the degrees of a list of vertices?
### Response:
import igraph as ig

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

# Get the degree of a single vertex
vertex_id = 1
single_vertex_degree = g.degree(vertex_id)
print(f'Degree of vertex {vertex_id}:', single_vertex_degree)

# Get the degrees of a list of vertices
vertices_list = [0, 2, 3]
vertices_degrees = g.degree(vertices_list)
print('Degrees of vertices:', vertices_degrees)
<|EOT|>
