Re: [Tutor] print string using triple quote

2015-03-17 Thread boB Stepp
On Mon, Mar 16, 2015 at 11:13 PM, Nick Nguyen wrote: > > Hi, > I use python 3.4.3. > I'm using print function with triple quote, as I understand all the character > will be printed as exactly within the triple quote, even with the backslash > character. However as you see in the RESULT printout,

Re: [Tutor] print string using triple quote

2015-03-17 Thread Dave Angel
On 03/17/2015 05:54 AM, Alan Gauld wrote: On 17/03/15 04:13, Nick Nguyen wrote: Hi, I use python 3.4.3. I'm using print function with triple quote, > as I understand all the character will be printed as exactly within the triple quote, even with > the backslash character. You understand

Re: [Tutor] print string using triple quote

2015-03-17 Thread Alan Gauld
On 17/03/15 04:13, Nick Nguyen wrote: Hi, I use python 3.4.3. I'm using print function with triple quote, > as I understand all the character will be printed as exactly within the triple quote, even with > the backslash character. You understand wrongly. Triple quotes are no different to an

[Tutor] print string using triple quote

2015-03-17 Thread Nick Nguyen
Hi, I use python 3.4.3. I'm using print function with triple quote, as I understand all the character will be printed as exactly within the triple quote, even with the backslash character. However as you see in the RESULT printout, the first backslash come out OK, but it misses the last backsla