Topic: Graph Theory Problem / Level: beginner

Problem: Write a program to print all nodes with degree 3 in a graph.

Run the code to see the output here...