Skip to content

Commit 2c0de39

Browse files
author
Christian Bender
authored
Merge pull request TheAlgorithms#290 from TheAlgorithms/fixed_sol3_problem1
I fixed the sol3.py of problem 1
2 parents a2b540f + 13ebdc3 commit 2c0de39

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Project Euler/Problem 01/sol3.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import print_function
2+
13
'''
24
Problem Statement:
35
If we list all the natural numbers below 10 that are multiples of 3 or 5,
@@ -7,7 +9,7 @@
79
'''
810
This solution is based on the pattern that the successive numbers in the series follow: 0+3,+2,+1,+3,+1,+2,+3.
911
'''
10-
from __future__ import print_function
12+
1113
try:
1214
raw_input # Python 2
1315
except NameError:

0 commit comments

Comments
 (0)