In Python, the equivalent of [the synntactic sugar] 'bottle'[1]
is 'bottle'.__getitem__(1)
What is the equivalent method of 'bottle'[1:3]
then?
In Python, the equivalent of [the synntactic sugar] 'bottle'[1]
is 'bottle'.__getitem__(1)
What is the equivalent method of 'bottle'[1:3]
then?