wasm-demo/demo/ermis-f/python_m/cur/0729

24 lines
436 B
Plaintext

From: jcosby at wolfenet.com (Jon Cosby)
Date: Sun, 18 Apr 1999 14:57:52 -0700
Subject: Sorting tuples
Message-ID: <7fdkhf$12d$1@sparky.wolfe.net>
X-UID: 729
I have a list of tuples
[('a','p','q'),('b','r','s'),('c','t','u'),('a','v','w'),('b','x','y')],
and I want to print out
a : p, q, v, w
b : r, s, x, y
c : t, u
Can somebody tell me what command will do this?
Jon Cosby