Anonymous user
Ethiopian multiplication: Difference between revisions
m
→{{header|Python}}: Simplify
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>
|