Files
p2p-rendering-computation/2_main_body/code/gcd.py
2020-10-31 22:54:46 +04:00

10 lines
141 B
Python

import library
# GCD of a and b
def my_gcd(a, b):
t = b
while not b == 0:
t = b
b = a % b
a = t
return a