Skip to content

Commit 8380623

Browse files
committed
Fix doctest examples for gcd docstring
1 parent 59461c8 commit 8380623

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

maths/gcd.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ def gcd(a: int, b: int) -> int:
1010
6
1111
>>> gcd(7, 5)
1212
1
13-
>>> gcd(0, 10)
14-
10
15-
>>> gcd(10, 0)
16-
10
13+
>>> gcd(48, 18)
14+
6
15+
>>> gcd(7, 5)
16+
1
1717
1818
:param a: first integer
1919
:param b: second integer

0 commit comments

Comments
 (0)