I am working on a little hackerrank contest. I fail to correctly index the list so that it would return single digits. The code challenge is as follows:
Kyle Reasoner is building a digital counter for counting spectators entering a stadium. The counter is made up of