<｜begin▁of▁sentence｜>### Instruction:
Given a list of edges [(0, 1), (1, 2), (2, 0), (2, 3)], how can you create a NetworkX graph from it using the from_edgelist() function?
### Response:
import networkx as nx

# Define the list of edges
e = [(0, 1), (1, 2), (2, 0), (2, 3)]

# Create a graph from the list of edges using the from_edgelist function
G = nx.from_edgelist(e)

# Alternatively, use the Graph constructor to create a graph from the list of edges
#H = nx.Graph(e)

# Print the edges of the graph
print('Edges of the graph:', list(G.edges()))
<|EOT|>
