gcd,即Greatest Common Divisor的缩写,意为最大公约数
示例
import math num = math.gcd(12,8) print(num)
控制台输出
4 进程已结束,退出代码0