I wrote some code in Python 2.7.2 and now I may need to switch to 3.4.3, but my code breaks (simply print
statements right now, but who knows what else). Is it possible to write the syntax in such a way that it will be compliant with both 2.7.2 and 3.4.3?
I am just starting out with Python and don't want to build habits with one flavor and then have to relearn things with another version later.