[ERROR] list index out of range

What is this error? How do I fix it?
It’s a problem of my program.