DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
lcm math python library
from math import gcd def lcm(a,b): return a*b/(gcd(a,b)) print(lcm(12,70)) //output: 420
PREVIOUS
NEXT
Tagged:
#lcm
#math
#python
#library
ADD COMMENT
Topic
COMMENT
Name
2+5 =
Submit