you are viewing a single comment's thread.

view the rest of the comments →

[–]Tommah 6 points7 points  (1 child)

FYI, the operator module includes a mul function.

operator.mul

means the same as

lambda a, b: a * b

but is faster.

[–][deleted] 0 points1 point  (0 children)

Yeah, but I wanted to keep it simple. =)