1 parent a2b540f commit 13ebdc3Copy full SHA for 13ebdc3
1 file changed
Project Euler/Problem 01/sol3.py
@@ -1,3 +1,5 @@
1
+from __future__ import print_function
2
+
3
'''
4
Problem Statement:
5
If we list all the natural numbers below 10 that are multiples of 3 or 5,
@@ -7,7 +9,7 @@
7
9
8
10
This solution is based on the pattern that the successive numbers in the series follow: 0+3,+2,+1,+3,+1,+2,+3.
11
-from __future__ import print_function
12
13
try:
14
raw_input # Python 2
15
except NameError:
0 commit comments