Ethiopian multiplication: Difference between revisions

m
(→‎{{header|Python}}: Move table out of function)
Line 2,407:
def ethiopian(multiplier, multiplicand):
result = sum(q for p, q in table(multiplier, multiplicand)
if not even(p))
return result</lang>
 
Anonymous user