Ethiopian multiplication: Difference between revisions

m
(Add Python example showing off more of the language's key features)
m (→‎{{header|Python}}: imap -> izip)
Line 2,349:
return result</lang>
 
Using generators, imapizip, and a generator expression.
 
<lang python>from itertools import izip
Anonymous user