[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: String indexing again
- From: Randy Kramer <rhkramer@...>
- Date: Mon, 20 Dec 2010 08:35:09 -0400
For those of us (maybe just me) just starting to watch from the peanut
gallery, without the long lecture, can you tell me what s[3] does
indicate--I mean what does the s function (is it a function?) do?
Randy Kramer
On Sunday 19 December 2010 11:57:19 pm Dirk Laurie wrote:
> Except for the long lecture you need to explain why you get this:
> > s='hello'; print(s[3])
>
> nil