0

Anyone can tell me why this program is not running??

Lcm of two no using the math module https://code.sololearn.com/c016FKj3QFVi/?ref=app

11th Feb 2022, 7:25 AM
Raj Kiran Singh
Raj Kiran Singh - avatar
2 Respostas
+ 5
It will not run as: https://code.sololearn.com/c5ip6FphjodA/?ref=app OR https://www.sololearn.com/Discuss/2923264/?ref=app // so, it will run in Pydroid 3 but not in SL. so, you can try this: import numpy print("lcm of 54 and 24 is :",numpy.lcm(54,24)) //
11th Feb 2022, 7:45 AM
NEZ
NEZ - avatar
+ 3
LCM function is available in 3.9 https://realpython.com/python39-new-features/
11th Feb 2022, 7:48 AM
Ipang