+ 1

Is there any way to shorten my code for LCM?

https://code.sololearn.com/cfQ6YpUoXV4M/?ref=app It is a bit too long

25th Jul 2019, 4:25 PM
Hoh Shen Yien
Hoh Shen Yien - avatar
3 odpowiedzi
0
the code works
25th Jul 2019, 4:27 PM
Hoh Shen Yien
Hoh Shen Yien - avatar
0
Is there a way to give answer straight up? And the answer seems to loop forever but doesn't give the first LCM
26th Jul 2019, 12:51 AM
Hoh Shen Yien
Hoh Shen Yien - avatar