<｜begin▁of▁sentence｜>### Instruction:
Given a graph whose edge set is [(1, 2), (1, 3), (1, 4), (3, 4), (3, 5), (4, 5)], can you calculate the periphery of the graph using NetworkX?
### Response:
import networkx as nx

# Create a graph
G = nx.Graph()
G.add_edges_from([(1, 2), (1, 3), (1, 4), (3, 4), (3, 5), (4, 5)])

# Calculate the periphery of the graph
g_periphery = nx.periphery(G)

print('Periphery of the graph:', g_periphery)
<|EOT|>
