Skip to content

Commit f79aefb

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent fbb7e5a commit f79aefb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

maths/special_numbers/kaprekar_constant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def main() -> None:
195195
print(f"Reached 6174 in {iterations} iteration(s)!")
196196
else:
197197
print("Number must be between 0 and 9999")
198-
except (ValueError, EOFError):
198+
except ValueError, EOFError:
199199
print("Invalid input or no input provided")
200200

201201

0 commit comments

Comments
 (0)