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 Revisions

1 of 3
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!

ovs
  • 61.2k
  • 3
  • 49
  • 164

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