Skip to content

Commit

Permalink
Remove Python 3 incompatible print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsproul committed Jun 27, 2014
1 parent f7f3915 commit dfe1213
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/graph/degree_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from networkx import *

z=[5,3,3,3,3,2,2,2,1,1,1]
print is_valid_degree_sequence(z)
print(is_valid_degree_sequence(z))

print("Configuration model")
G=configuration_model(z) # configuration model
Expand All @@ -32,5 +32,3 @@
print("degree #nodes")
for d in hist:
print('%d %d' % (d,hist[d]))


0 comments on commit dfe1213

Please sign in to comment.