<｜begin▁of▁sentence｜>### Instruction:
Alright folks, picture this: You're on a comedy tour—yeah, that's right, a grand journey—from gig to gig. Your comedic genius is like a road with pit stops, let's call them nodes, stretching from 'Jokeville' to 'Punchline City', and there are five stops on your journey.

Now, here's the kicker: there's a twist in our comedic travel tale. You've decided that the first stop, 'Old Jokeburg', is just not working for you (maybe the tomatoes there are just a little too ripe for dodging), so you want it out of your itinerary. And then, you realize that 'Pun Point' just isn't connecting with 'Satire Station' nor is 'Wit's End' jiving with 'Punchline City' - the flow is off, the vibes are wrong, the laughs aren't rolling. So, you're thinking, what if they weren't part of the tour map?

So the question, my hilarious friends, is: If we take 'Old Jokeburg' out of the picture, and we cut out the travel routes between 'Pun Point' and 'Satire Station', also between 'Wit's End' and 'Punchline City', what kind of comedy tour map are we left with? What are the stops and routes (that's nodes and edges for you map enthusiasts) that still make the cut? Give me the abridged version of our laugh-loaded odyssey, minus these stops and stretches.
### Response:
import networkx as nx

# Create a path graph
G = nx.path_graph(5)

# Create a restricted view of the graph G without node 0 and edges (1, 2) and (3, 4)
H = nx.restricted_view(G, [0], [(1, 2), (3, 4)])

# Print the nodes and edges of the restricted graph
print('Nodes:', list(H.nodes))
print('Edges:', list(H.edges))
<|EOT|>
