Author serhiy.storchaka
Recipients Ananthakrishnan, SilentGhost, mark.dickinson, rhettinger, serhiy.storchaka, steven.daprano, tim.peters
Date 2020-02-16.17:08:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581872896.54.0.317089708053.issue39648@roundup.psfhosted.org>
In-reply-to
Content
Python as programming language provides builtin blocks. This is a good example of using functools.reduce().

But if you can provide an algorithm for calculating the GCD and LCM more efficient than sequential applying gcd() and lcm() for two arguments, it would be an argument for implementing it in the stdlib.
History
Date User Action Args
2020-02-16 17:08:16serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, rhettinger, mark.dickinson, steven.daprano, SilentGhost, Ananthakrishnan
2020-02-16 17:08:16serhiy.storchakasetmessageid: <1581872896.54.0.317089708053.issue39648@roundup.psfhosted.org>
2020-02-16 17:08:16serhiy.storchakalinkissue39648 messages
2020-02-16 17:08:16serhiy.storchakacreate