How to fix IndexError: tuple index out of range in Python | DevErrors