Mega Code Archive

 
Categories / Python / Buildin Function
 

Use map

print pow(3, 4) print map(pow, [1, 2, 3], [2, 3, 4])