Ask Your Question

Revision history [back]

\n is not defined, you have to consider the string '\n' (with quotes):

sage: print('text',end='\n')
text