multiply each element of a list by a number
Méta-MCI (MVP)
enleverlesX.XmcX at XmclaveauX.com
Sat Dec 27 03:30:41 EST 2008
Hi!
> map(multby3, (1, 2, 3, ))
...with lambda:
map(lambda x: x*3, [1,2,3])
@-salutations
--
Michel Claveau
More information about the Python-list
mailing list