We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a20babb commit 808474cCopy full SHA for 808474c
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