IndexError: index 20 is out of bounds for dimension 1 with size 20

Thanks, it is solved. But I have another error (link), if you have a look and help me to solve then it will be very much helpful.