Skip to content

Commit 48cd502

Browse files
author
Juanitoupipou
committed
Fixes on isprothnumber()
1 parent 45b7461 commit 48cd502

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

maths/special_numbers/proth_number.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ def isprothnumber(number: int) -> bool:
6464
:param number: nth number to calculate in the sequence
6565
:return: true if number is a Proth number, false etherwise
6666
>>> isprothnumber(5)
67-
true
67+
True
6868
>>> isprothnumber(34)
69-
false
69+
False
7070
>>> isprothnumber(-1)
7171
Traceback (most recent call last):
7272
...

0 commit comments

Comments
 (0)