Declaring a list
>>> convites = ['Flavio Almeida', 'Nico Steppat', 'Romulo Henrique']
When it shows, it appears like this
>>> convites[0]
'Flavio Almeida'
>>> convites[1]
'Nico Steppat'
>>> convites[2]
'Romulo Henrique'
I believe it is correct, because of this;
posição 0 1 2
>>> convites = ['Flavio Almeida', 'Nico Steppat', 'Romulo Henrique']
Because Flavio is in position 0, Nico is in position 1 and Romulo in position 2
Because at the time of printing two positions it behaves differently, as shown below?
>>> convites[0:2]
['Flavio Henrique', 'Nico Steppat']
In my opinion it should be
['Flavio Henrique', 'Romulo Henrique']
I do not understand, can anyone explain?