Pythin simple leetcode question, IndexError: string index out of range Hello new to python not new to programming,