Skip to content

Commit 96e6a1f

Browse files
KumarUniverseKumarUniverse
KumarUniverse
authored and
KumarUniverse
committed
Fixed code formatting
1 parent e920501 commit 96e6a1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project_euler/problem_301/sol1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def solution(n: int = 2 ** 30) -> int:
4343
"""
4444
loss_count = 0
4545
for i in range(1, n + 1):
46-
if (i^(2*i)^(3*i)) == 0:
46+
if (i ^ (2 * i) ^ (3 * i)) == 0:
4747
loss_count += 1
4848

4949
return loss_count

0 commit comments

Comments
 (0)