Write python program that creates a function which return the Greatest Common Divisor and Least Common Multiply of two numbers | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Write python program that creates a function which return the Greatest Common Divisor and Least Common Multiply of two numbers

who can do this?

10th Apr 2018, 9:03 PM
saleh bawazeer
saleh bawazeer - avatar
3 Answers
10th Apr 2018, 11:48 PM
Favour
Favour - avatar
0
Do a Google search on the algorithm for finding gcd of two numbers. it's actually easy and u can complete it with if statements.
10th Apr 2018, 9:22 PM
Ridwan Abrar
Ridwan Abrar - avatar
0
I probably can, might have already done it, can't remember
10th Apr 2018, 11:14 PM
Markus Kaleton
Markus Kaleton - avatar