This is Python 2, which one can see from print not having (...).
When writing code, either try for cross-compatibility, or for Python 3. Cross-compatibility isn't that hard with some practise, but you miss out on 10 years worth of Python 3 features.