List and order
nospam at nospam.nospam
Mon May 15 10:59:30 CEST 2006
I'm using the NetworkX Python package (https://networkx.lanl.gov/).
Through this package I wrote the following code:
import networkx as NX
for (u,v) in G.edges():
As result, I have:
I'd like to order the numbers included in the couples in a decrescent way:
And then to write the couples on a single line, always in a decrescent way:
12 12 22
I'm not able to do this operation. Can you help me please?
Thanks a bunch,
More information about the Python-list