multiply utple or list

Jim Red jimred at xms.ms
Thu Feb 19 09:23:32 EST 2004


what is the best way to multiply a tuple or list by a given value

exp.
multiply (4, 5) by 2 => (8, 10)

cheers

jr



More information about the Python-list mailing list