Post

@PythonPr Answer: A
Solution: This is an application of slicing and negative indices.
You must be familiar with the usual indexing that starts from 0 (starting from the left).
Negative indexing is a cool feature of python. It allows you to count backwards (from the right).
Eg
+
English

@PythonPr nums = [1, 2, 3, 4]
If you want to access the last item,
you'd have to do something like
num[len(nums)-1]
clunky and un-pythonic.
Instead, you can use -1 to access the last item, like so:
num[-1] # access last (rightmost) item
What about the 2nd-last item? Got you covered
+
English

