The documentation claims that it starts from 0, but this example claims otherwise.

I would recommend being sure to run the doc tests, they may find bugs!