Question

7. Draw using Sage a weighted graph D representing distances and another weighted graph P representing prices (both weighted graphs).

Question image 1