Skip to content

Commit 45b7461

Browse files
author
Juanitoupipou
committed
Fixes on isprothnumber
1 parent 2a86be1 commit 45b7461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maths/special_numbers/proth_number.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def isprothnumber(number: int) -> bool:
8484
num -= 1
8585
n = 0
8686
while num % 2 == 0:
87-
num = num / 2
87+
num = num // 2
8888
n += 1
8989
return num < (2**n)
9090

0 commit comments

Comments
 (0)