[issue39479] [RFE] Add math.lcm() function: Least Common Multiple

Ananthakrishnan A S report at bugs.python.org
Tue Jan 28 10:12:19 EST 2020


Ananthakrishnan A S <ananthakrishnan15.2001 at gmail.com> added the comment:

I created this issue as i came across the following question:

There are n students in class A,and m students in class B.each class divides into teams for a competition.What is the biggest possible team size that can be divided,such that  each team has same number of members.

We can solve this type of problems easily if we have lcm() in math library.And there are lots of real life applications where we have to use lcm.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39479>
_______________________________________


More information about the Python-bugs-list mailing list