Error ON Slicing

I’m getting the error shown. Can I pinpoint where the error is, given the numbers listed?