Why am I getting list index out of range error with my nested lists in Python

welcome to shbcf.ru