<｜begin▁of▁sentence｜>### Instruction:
Given a simple undirected graph with edges [(0,1),(0,2),(0,3),(1,2),(1,3)], how can you calculate the degree centrality of each node using NetworkX?
### Response:
import networkx as nx
# Create a graph
G = nx.Graph()
# Add edges to the graph
G.add_edges_from([(0,1),(0,2),(0,3),(1,2),(1,3)])
# Compute degree centrality
centrality = nx.degree_centrality(G)
print(centrality)
<|EOT|>
