Dapatkan Node Node Networkx

G.degree[0]  # return node 0 degree
Difficult Dormouse