Hello, I am trying to make it so that when someone writes an account number in my application and clicks "Consult", the application uses the data from a Google Sheets that is in JSON format to change the window labels.
But when the test is done, an error appears on the screen like the one in the image. Somebody could help me?
You have a list made of three items. In order, they are "apple", "orange" and "bananas". Since "apple" is the first item in this list, its index is 1. Also, since "bananas" is the third item in the list, its index is 3.
I think I understand, but when I change the value to 1, 2, 3 or another number, the error continues but instead of being [0] it is the selected number.