Ethiopian multiplication: Difference between revisions
Content added Content deleted
m (→{{header|Python}}: Update description) |
m (→{{header|Python}}: Simplify) |
||
Line 2,405:
def ethiopian(multiplier, multiplicand):
table =
result = sum(q for p, q in table if not even(p))
return result</lang>
|