I recently ran into the issue with 'print' were, as it says on the web
page called Python Gotchas
(http://www.ferg.org/projects/python_gotchas.html):
The Python Language Reference Manual says, about the print statement,
A \n character is written at the end, unless the print statement ends
with a
wrote:
I recently ran into the issue with 'print' were, as it says on the web
page called Python Gotchas
(http://www.ferg.org/projects/python_gotchas.html):
The Python Language Reference Manual says, about the print statement,
A \n character is written at the end, unless the print
[EMAIL PROTECTED] wrote:
[snip]
A \n character is written at the end, unless the print statement ends
with a comma.
What it doesn't say is that if the print statement does end with a
comma, a trailing space is printed.
--
But this isn't exactly correct either. If you run this program: