<｜begin▁of▁sentence｜>### Instruction:
As a historian researching ancient civilizations, one of your tasks is to analyze the social and political structures of ancient cities. You have gathered historical records and artifacts from various cities to reconstruct their network of alliances and dependencies. Using specialized software like igraph, you can apply the Vertex.predecessors method to determine the predecessor vertices of a specific city, providing insights into its position within the larger network of interconnected cities.
### Response:
from igraph import Graph

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

# Get the vertex object for vertex with index 3
v = g.vs[3]

# Use the predecessors method on the vertex object
predecessors = v.predecessors()
print('Predecessors of vertex 3:', predecessors)
<|EOT|>
