Python 최대공약수
2024.09.22 by 걸어서뉴욕까지
# math 활용from math import gcdgcd(30, 60, 90, 150, 180) # 결과값: 30
Python/표준라이브러리 2024. 9. 22. 23:33