diff --git a/ProjectEulerAnswers.py b/ProjectEulerAnswers.py index 4e3db3c..ed0ae17 100644 --- a/ProjectEulerAnswers.py +++ b/ProjectEulerAnswers.py @@ -2,6 +2,9 @@ Module that contains functions that solve Project Euler propblems. """ +# The import of print_function can be removed if running on Python 2.4. +from __future__ import print_function # Python 2.6 or 2.7 required + from sys import version_info import time diff --git a/README.md b/README.md index 4d4f66f..cb92abd 100644 --- a/README.md +++ b/README.md @@ -7,4 +7,4 @@ Code for solving problems from [Project Euler](https://projecteuler.net/). Released under the MIT licence (see LICENCE.txt). -Compatible with Python 2.4 to 2.7. +Compatible with Python 2.6 to 2.7.