Re: [Tutor] Newline question

2012-08-03 Thread Alexander Q.
On Fri, Aug 3, 2012 at 2:09 PM, Alexander Q. wrote: > > > On Fri, Aug 3, 2012 at 1:40 PM, Jerry Hill wrote: > >> On Fri, Aug 3, 2012 at 4:18 PM, Alexander Q. >> wrote: >> > I'm following the tutorial from python.org >> > (http://docs.python.org/tutorial/introduction.html) and am having a few >>

Re: [Tutor] Newline question

2012-08-03 Thread Alan Gauld
On 03/08/12 22:09, Alexander Q. wrote: That was it Jerry- when I typed in "print hello" instead of just "hello", the output was exactly like the one in the tutorial. Yes, the interactive interpreter shows the representation (repr()) of the data while print shows the normal output. There are s

Re: [Tutor] Newline question

2012-08-03 Thread Alexander Q.
On Fri, Aug 3, 2012 at 1:40 PM, Jerry Hill wrote: > On Fri, Aug 3, 2012 at 4:18 PM, Alexander Q. wrote: > > I'm following the tutorial from python.org > > (http://docs.python.org/tutorial/introduction.html) and am having a few > > indiscrepancies regarding the new line command. > > > > The tutor

Re: [Tutor] Newline question

2012-08-03 Thread Jerry Hill
On Fri, Aug 3, 2012 at 4:18 PM, Alexander Q. wrote: > I'm following the tutorial from python.org > (http://docs.python.org/tutorial/introduction.html) and am having a few > indiscrepancies regarding the new line command. > > The tutorial says that this code > > hello = "This is a rather long strin

[Tutor] Newline question

2012-08-03 Thread Alexander Q.
I'm following the tutorial from python.org ( http://docs.python.org/tutorial/introduction.html) and am having a few indiscrepancies regarding the new line command. The tutorial says that this code hello = "This is a rather long string containing\n\ several lines of text just as you would do in C.