Fixes on isprothnumber

This commit is contained in:
Juanitoupipou 2024-11-27 16:23:42 +01:00
parent 2a86be1dc9
commit 45b74616f2

View File

@ -84,7 +84,7 @@ def isprothnumber(number: int) -> bool:
num -= 1
n = 0
while num % 2 == 0:
num = num / 2
num = num // 2
n += 1
return num < (2**n)