MCPcopy Create free account
hub / github.com/BloombergGraphics/whatiscode / gcd.py

File gcd.py

research/sample/gcd.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#From Rosetta Code
2def gcd(u, v):
3 return gcd(v, u % v) if v else abs(u)
4print gcd(2750, 3750)

Callers

nothing calls this directly

Calls 1

gcdFunction · 0.70

Tested by

no test coverage detected