[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-11-27 15:07:09 +00:00
parent 941efc3a38
commit dc2f2f06e9

View File

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