Dennis Lee Bieber writes:
> On Wed, 11 Aug 2021 11:59:11 -0300, Jack Brandom
> declaimed the following:
>
>>
>>Where are these production rules coming from? They're not at
>>
>> https://docs.python.org/3/reference/grammar.html
>>
>>
ing-things-up, to suit yourself (hopefully).
Well observed. (I suppose it is a habit of mine to try to infer the
axioms of things.)
[...]
> On 06/08/2021 05.35, Jack Brandom wrote:
>> The FAQ at
>>
>> https://docs.python.org/3/faq/programming.html#what-s-a-negative-inde
Greg Ewing writes:
> On 6/08/21 12:00 pm, Jack Brandom wrote:
>> It seems
>> that I'd begin at position 3 (that's "k" which I save somewhere), then I
>> subtract 1 from 3, getting 2 (that's "c", which I save somewhere), then
>> I sub
"Michael F. Stemper" writes:
> On 05/08/2021 12.35, Jack Brandom wrote:
>> The FAQ at
>>https://docs.python.org/3/faq/programming.html#what-s-a-negative-index
>> makes me think that I can always replace negative indices with
>> positive
>> ones ---
For instance, I can
reverse a "Jack" this way:
>>> s = "Jack Brandom"
>>> s[3 : -13 : -1]
'kcaJ'
I have no idea how to replace that -13 with a positive index. Is it
possible at all?
But this example gives me the idea that perhaps each slice is e