We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06d8db8 commit 1b134caCopy full SHA for 1b134ca
brain_games/games/b_gcd_logic.py
@@ -24,6 +24,8 @@ def b_gcd():
24
rem = a % b
25
a = b
26
b = rem
27
+ if b != 0:
28
+ gcd = a
29
if answer == str(gcd):
30
print('Correct!')
31
a = randint(0, 20)
0 commit comments