¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
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
2 Respuestas
+ 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))
//
+ 3
LCM function is available in 3.9
https://realpython.com/python39-new-features/