im new to python and im trying to plot the degree distribution for some data. So i wrote the following function:
def plotDegDistLogLog(G): degree_sequence