Skip to content

Commit 567f2ad

Browse files
author
Christian Bender
authored
Correction: Remove semicolons
I have remove the semicolons in line 8 and line 12
1 parent 52d160e commit 567f2ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Project Euler/Problem 01/sol1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
Find the sum of all the multiples of 3 or 5 below N.
66
'''
77
n = int(raw_input().strip())
8-
sum=0;
8+
sum=0
99
for a in range(3,n):
1010
if(a%3==0 or a%5==0):
1111
sum+=a
12-
print sum;
12+
print sum

0 commit comments

Comments
 (0)