Fix app.py

Changed the start of range() from 1 to 0.