Skip to content

Commit

Permalink
Update maths/carmichael_number.py
Browse files Browse the repository at this point in the history
Co-authored-by: Tianyi Zheng <[email protected]>
  • Loading branch information
quant12345 and tianyizheng02 authored Oct 10, 2023
1 parent 0fbcb91 commit 79a5b64
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 @@ -61,7 +61,7 @@ def is_carmichael_number(n: int) -> bool:
"""

if n <= 0 or not isinstance(n, int):
msg = f"Number {n} must instead be integer"
msg = f"Number {n} must instead be a positive integer"
raise ValueError(msg)

return all(
Expand Down

0 comments on commit 79a5b64

Please sign in to comment.