AppleStore.csv is this code correct

Screen Link:

My Code:

from csv import reader
read_file=reader(opened_file)
apps_data=list(read_file)
print(apps_data[-2:-1])
               
 Output
[['1081295232', 'Suppin Detective: Expose their true visage!', '83026944', 'USD', '0.0', '0', '0', '0.0', '0.0', '1.0.3', '12+', 'Entertainment', '40', '0', '1', '1']]
   
Replace this line with your code

What I expected to happen:
In the code above, I was expecting to print out the last two rows.
Is this code, print(apps_data[-2:-1]), the correct code?
Which row is printed first?
How do I know the beginning and end of each row ?

What actually happened:

Replace this line with the output/error

I think you can try:
print(apps_data[-2:]) to print the last two rows
Let me know what you get.

Thank you. that seems to have done it
I got this
[[‘1081295232’, ‘Suppin Detective: Expose their true visage!’, ‘83026944’, ‘USD’, ‘0.0’, ‘0’, ‘0’, ‘0.0’, ‘0.0’, ‘1.0.3’, ‘12+’, ‘Entertainment’, ‘40’, ‘0’, ‘1’, ‘1’], [‘977965019’, ‘みんなのお弁当 by クックパッド ~お弁当をレシピ付きで記録・共有~’, ‘51174400’, ‘USD’, ‘0.0’, ‘0’, ‘0’, ‘0.0’, ‘0.0’, ‘1.4.0’, ‘4+’, ‘Food & Drink’, ‘37’, ‘0’, ‘1’, ‘1’]] which makes sense.
I presume that the penultimate line is printed first?

take it as this: slicing is from the first specified index up to — but not including — the second specified index. For example, to select the items at index 1 , 2 , and 3 , we’d need to use the slice [1:4] .
So when you specified [-2:-1], you were telling Python to print the second to the last row excluding the last row itself which is positioned at index -1