Re: [Tutor] Trailing spaces affect output in a way I don't understand.

2012-12-16 Thread eryksun
On Sat, Dec 15, 2012 at 11:55 PM, boB Stepp wrote: > On Sat, Dec 15, 2012 at 10:43 PM, Steven D'Aprano wrote: > >> Two solutions are: >> >> * Add a space to the end of the backslashes. The space is invisible, and >> some editors may strip it out, so this is a fragile solution. > > In my efforts t

Re: [Tutor] Trailing spaces affect output in a way I don't understand.

2012-12-15 Thread boB Stepp
On Sat, Dec 15, 2012 at 10:55 PM, boB Stepp wrote: > It is funny in retrospect: If I had wanted to create a newline > character I would do the correct thing, but seeing the backslashes as > part of a picture, even after I went into PyScripter's options and > turned on ALL special characters, I wa

Re: [Tutor] Trailing spaces affect output in a way I don't understand.

2012-12-15 Thread boB Stepp
On Sat, Dec 15, 2012 at 10:43 PM, Steven D'Aprano wrote: >> What greatly puzzles me is that "GAME" prints correctly, but "OVER" >> does not. Why? > > > Wow! This is a tricky question, but so obvious in hindsight. > > The problem is that you have three lines, all in "OVER", that end with > a backs

Re: [Tutor] Trailing spaces affect output in a way I don't understand.

2012-12-15 Thread Steven D'Aprano
On 16/12/12 15:16, boB Stepp wrote: In the following code: print( """ _____ _____ / _| /| / |/ | | | | | / /| | / /| /| | | |__ | | _ / ___ |/ / |__/ | | |