Cosmetic change

This commit is contained in:
2026-04-06 15:38:39 +02:00
parent 5cee1f7998
commit 8580160d67

View File

@@ -24,9 +24,9 @@ def compute():
Find the product abc.
"""
upper_limit = 1000
for a in range(1, upper_limit + 1):
for b in range(a + 1, upper_limit + 1):
upper_limit = 1000 + 1
for a in range(1, upper_limit):
for b in range(a + 1, upper_limit):
c = upper_limit - a - b
if a * a + b * b == c * c:
# It is now implied that b < c, because we have a > 0