Topic: Graph Theory Problem / Level: beginner

Problem: Write a function to calculate the density of a graph.

Run the code to see the output here...