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 c0db072 commit 4e361a1Copy full SHA for 4e361a1
1 file changed
maths/greatest_common_divisor.py
@@ -73,7 +73,7 @@ def main():
73
f"{greatest_common_divisor(num_1, num_2)}"
74
)
75
print(f"By iterative gcd({num_1}, {num_2}) = {gcd_by_iterative(num_1, num_2)}")
76
- except IndexError, UnboundLocalError, ValueError:
+ except (IndexError, UnboundLocalError, ValueError):
77
print("Wrong input")
78
79
0 commit comments