When printing "abc"[10], it returns IndexError as expected, but when changing the index to [10:11], it just returns "".
What makes the two index statements different?
When printing "abc"[10], it returns IndexError as expected, but when changing the index to [10:11], it just returns "".
What makes the two index statements different?