We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a20babb + 808474c commit b1dea73Copy full SHA for b1dea73
gcd.py
@@ -6,6 +6,7 @@
6
b = int(input("Enter number 2 (b): "))
7
8
i = 1
9
+gcd=-1
10
while i <= a and i <= b:
11
if a % i == 0 and b % i == 0:
12
gcd = i
0 commit comments