Make Python create a tuple with one element in a clean way

MC XX.XmcX at XX.XmclaveauX.com
Mon May 12 01:25:48 EDT 2008


Hi!

> You want 2*(3+4) to return (7,7)?

For have that:  2*(3+4,)




-- 
@-salutations

Michel Claveau





More information about the Python-list mailing list