<｜begin▁of▁sentence｜>### Instruction:
Given a NetworkX graph with edges [(0, 1), (0, 2), (1, 2), (1, 3)], can you convert it to an igraph graph and print a summary of the newly created igraph instance?
### Response:
import networkx as nx
import igraph as ig

# Create a networkx graph
nx_g = nx.Graph()
nx_g.add_edges_from([(0, 1), (0, 2), (1, 2), (1, 3)])

# Convert to igraph
ig_g = ig.Graph.from_networkx(nx_g)

# Print igraph summary
print(ig.summary(ig_g))
<|EOT|>
