Ask Your Question

Revision history [back]

print("stuff stuff", end = " ") is certainly not valid in Python 2, and Sage is using Python 2, and switching is not going to happen soon.

Actually, print is not a function in Python 2, so it's not that it doesn't like '=', it doesn't like (), etc.

You can see few most common differences between Python versions 2 and 3 explained here: