Skip to content

Commit 2a86be1

Browse files
author
Juanitoupipou
committed
Merge branch 'Juan' of https://github.com/Miranda13/Python into Juan
2 parents 8776dd6 + dc2f2f0 commit 2a86be1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

maths/special_numbers/proth_number.py

Lines changed: 2 additions & 2 deletions
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)