📜  欧几里得算法递归python代码示例

📅  最后修改于: 2022-03-11 14:46:59.626000             🧑  作者: Mango

代码示例1
def gcd(a, b):
  return b if (a == 0) else gcd(b%a, a)
#contributed by rohit gupta