Consistency formatting
This commit is contained in:
@@ -20,8 +20,8 @@ def compute():
|
||||
|
||||
Find the sum of all the multiples of 3 or 5 below 1000.
|
||||
"""
|
||||
|
||||
ans = sum(x for x in range(1000) if (x % 3 == 0 or x % 5 == 0))
|
||||
|
||||
return ans
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user