Skip to content

Commit dc2f2f0

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 941efc3 commit dc2f2f0

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
@@ -83,8 +83,8 @@ def isprothnumber(number: int) -> bool:
8383
num = number
8484
num -= 1
8585
n = 0
86-
while num%2 == 0 :
87-
num = num/2
86+
while num % 2 == 0:
87+
num = num / 2
8888
n += 1
8989
return num < (2**n)
9090

0 commit comments

Comments
 (0)