[Python] Math.gcd - 최대공약수
·
Programming Language/Python
gcd() 함수최대공약수 구하기import mathprint(math.gcd(20, 45)) # 5print(math.gcd(20, 60, 100)) # 20