Message362069
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 |
|
Date |
User |
Action |
Args |
2020-02-16 13:38:42 | Ananthakrishnan | set | recipients:
+ Ananthakrishnan, mark.dickinson, steven.daprano, serhiy.storchaka |
2020-02-16 13:38:42 | Ananthakrishnan | set | messageid: <1581860322.5.0.900527144573.issue39648@roundup.psfhosted.org> |
2020-02-16 13:38:42 | Ananthakrishnan | link | issue39648 messages |
2020-02-16 13:38:42 | Ananthakrishnan | create | |
|