Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

deleted 16 characters in body
Source Link
emanresu A
  • 46.2k
  • 5
  • 111
  • 257

Python 2, 65 bytes (non-competing)

lambda x:reduce(lambda x,y:x*y/gcd(x,y),x)
from fractions import*

Try it online!

Python 2, 65 bytes (non-competing)

lambda x:reduce(lambda x,y:x*y/gcd(x,y),x)
from fractions import*

Try it online!

Python 2, 65 bytes

lambda x:reduce(lambda x,y:x*y/gcd(x,y),x)
from fractions import*

Try it online!

added 26 characters in body
Source Link
Cyoce
  • 3.4k
  • 26
  • 29

Python 2, 65 bytes (non-competing)

lambda x:reduce(lambda x,y:x*y/gcd(x,y),x)
from fractions import*

Try it online!

Python 2, 65 bytes

lambda x:reduce(lambda x,y:x*y/gcd(x,y),x)
from fractions import*

Try it online!

Python 2, 65 bytes (non-competing)

lambda x:reduce(lambda x,y:x*y/gcd(x,y),x)
from fractions import*

Try it online!

Source Link
ovs
  • 61.2k
  • 3
  • 49
  • 164

Python 2, 65 bytes

lambda x:reduce(lambda x,y:x*y/gcd(x,y),x)
from fractions import*

Try it online!

AltStyle によって変換されたページ (->オリジナル) /