最大公约数

Python 中等
编写一个函数 `gcd(a, b)`,计算两个正整数的最大公约数。 **示例:** ```python print(gcd(12, 8)) # 4 print(gcd(17, 5)) # 1 ```

你的代码