apologies, an account name would be helpful, mine is
LewKurtz

> On May 23, 2018, at 7:50 PM, Lew Kurtz <[email protected]> wrote:
> 
> 
> 
> I wanted to create an account to discuss changes to the indexes and slices 
> example, because basically, the right and left sides of that example seem 
> only half related; the way it is written, could be convinced that the first 
> element in that list on the left consists of the list [0,1,2,3,4,5]  I think 
> would be clear if it was something like this
> (sorry the spacing is not good)
> 
> Index from rear      -6   -5   -4   -3  -2  -1
> index from front       0    1    2    3   4   5
>                             +—+—+—+—+—+—+
> my_list =               | a  | b |  c | d  | e  |  f  |
>                             +—+—+—+—+—+—+
> Slice from front     :     1   2    3   4    5    :
> Slice from rear     :     -5  -4  -3  -2   -1   :
> 
> (notice also only 4 colons instead of 8)
> 
> Then on the right side
> 
> my_list=[a,b,c,d,e,f]
> len(my_list)==6
> my_list[0]==a
> etc.
> 
> This way, the whole example is connected.
> 
> That’s my 2 cents. If you think I’m off in left field, then I don’t need 
> access to modify the page. Or please feel free to make these modifications if 
> that’s easier.
> 
> Thanks,
> Lew
> 

_______________________________________________
pydotorg-www mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pydotorg-www

Reply via email to