<｜begin▁of▁sentence｜>### Instruction:
Given a graph generated using Erdős-Rényi model with 10 vertices and the probability of edge creation p=0.3, how do you select and print the ids of vertices with a degree greater than 3?
### Response:
from igraph import Graph

# Create an example graph
g = Graph.Erdos_Renyi(n=10, p=0.3)

# Select vertices with degree greater than a specified threshold
degree_threshold = 3
selected_vertices = g.vs.select(_degree_gt=degree_threshold)

# Print the ids of selected vertices
print([vertex.index for vertex in selected_vertices])
<|EOT|>
