Topic: Graph Theory Problem / Level: beginner

Problem: Write a function to calculate the total number of edges in a graph.

Run the code to see the output here...