### graphs code writing

def sumWeights(g):
    return
