Obtenha um nó de grau Networkx
G.degree[0] # return node 0 degree
Difficult Dormouse
G.degree[0] # return node 0 degree