news at NOwillmcguganSPAM.com
Tue Sep 21 13:58:08 CEST 2004
What is the simplest way of turning a single value and a tuple in to a
single 'flat' tuple?
t= ( 1, 2, 3 )
n, t gives me ( 10, ( 1, 2, 3 ) )
Fair enough, but I would like to get.. ( 10, 1, 2, 3 )
I would like to use the result to create a string with the % operator -
I was hoping there was some shorthand to produce ( n, t, t, t ).
More information about the Python-list