This website works better with JavaScript
Acasă
Explorează
Ajutor
Autentificare
taddeus
/
projecteuler
Urmărește
1
Stea
0
Bifurcare
0
Fisiere
Probleme
0
Trageți solicitările
0
Wiki
Arbore:
4a07d490c1
Ramuri
Etichete
master
projecteuler
/
frac.py
frac.py
114 B
Istoric
Crud
1
2
3
4
5
6
7
8
def _gcd(a, b):
while b:
a, b = b, a % b
return a
def gcd(*args):
return reduce(_gcd, args)