© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Dhruv Mittal
When to understand when to use python 2 and python 3
Mark
formerly known as M
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.
Narasimha Prasanna HN
Software Development Engineer, Blogger and Open Source Contributor
print statement tells you all !! :)
Mark
formerly known as M
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.