I actually figured an IndexError would be more informative because it will print the wrong index for the user, but I'll change it