Re: [Tutor] Questions regarding strings

2010-08-09 Thread Jerry Hill
On Sun, Aug 8, 2010 at 1:04 PM, Daniel wrote: > > Can someone please explain this to me? Thank you so much and I wish everyone > a great day! Beyond what Hugo mentioned in his message, take a look at the tutorial: http://docs.python.org/tutorial/introduction.html#strings I don't see a way to di

Re: [Tutor] Questions regarding strings

2010-08-08 Thread Hugo Arts
On Sun, Aug 8, 2010 at 12:04 PM, Daniel wrote: > Hello everyone! I would like to ask you two questions regarding strings > which I do not know. Excuse me in advance if the questions may seem a bit > dumb. I'm a beginner. So let's get back to the point, this is my string: > > msg= 'Hello world' > I

[Tutor] Questions regarding strings

2010-08-08 Thread Daniel
Hello everyone! I would like to ask you two questions regarding strings which I do not know. Excuse me in advance if the questions may seem a bit dumb. I'm a beginner. So let's get back to the point, this is my string: msg= 'Hello world' If I do, msg[:3] I get the following output, 'Hel' If I do,