[issue39648] Update math.gcd() to accept "n" arguments.
Ananthakrishnan
report at bugs.python.org
Mon Feb 17 07:17:27 EST 2020
Ananthakrishnan <ananthakrishnan15.2001 at gmail.com> added the comment:
It should take variable number of positional arguments.
it should return:
>>math.gcd()
0
>>math.gcd(8)
8
>>math.gcd(-8)
8
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39648>
_______________________________________
More information about the Python-bugs-list
mailing list