This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Ananthakrishnan
Recipients Ananthakrishnan, mark.dickinson, serhiy.storchaka, steven.daprano
Date 2020-02-16.13:38:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581860322.5.0.900527144573.issue39648@roundup.psfhosted.org>
In-reply-to
Content
If we have to find the gcd of three or more numbers, now we should use 
gcd(a, gcd(b, gcd(c, gcd(d, e)))))
which will create lot of problems.

math.gcd should take "n" number of arguments,like:

gcd(a,b,c,....)

gcd(4,6,8)    //returns 2
gcd(2,5,8,6)    //returns 1
gcd(6,30,40,60,20,40)    //returns 2
History
Date User Action Args
2020-02-16 13:38:42Ananthakrishnansetrecipients: + Ananthakrishnan, mark.dickinson, steven.daprano, serhiy.storchaka
2020-02-16 13:38:42Ananthakrishnansetmessageid: <1581860322.5.0.900527144573.issue39648@roundup.psfhosted.org>
2020-02-16 13:38:42Ananthakrishnanlinkissue39648 messages
2020-02-16 13:38:42Ananthakrishnancreate