2👍
✅
Your perception of the range function is off (the last argument of the range is not included in the list itself, its the limiter)
>> range(2012, 2013)
.. [2012]
You require an offset if you want to include 2013, e.g.
>> range(2012, 2014)
.. [2012, 2013]
Source:stackexchange.com