Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 7, 2023
1 parent e0a12c7 commit d8efb8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maths/carmichael_number.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def is_carmichael_number(n: int) -> bool:
import doctest

doctest.testmod()

number = int(input("Enter number: ").strip())
if is_carmichael_number(number):
print(f"{number} is a Carmichael Number.")
Expand Down

0 comments on commit d8efb8c

Please sign in to comment.