IN 3.1 for print():
>>> print('hello', end =' ')
hello>>>
It suppress the newline character.
On 01/15/2011 07:05 PM, Emile van Sebille wrote:
On 1/15/2011 9:35 AM Bill DeBroglie said...
Twice in two days...!
Using Mac OS X 10.5.8 and Python 2.7.1 but am following a book which is
using Python 3.1. The author uses the end parameter
What's an 'end' parameter?
Emile
in numerous programs
but this doesn't seem to translate to 2.7. Any advice as to how I can
specify the final string of the print function?
Thank you,
bdb
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor