"1" is not a valid variable name?


The error happened while I was trying to create buttons for response variables.
What is wrong with the variable name? And how can I fix it?


The error happened while I was trying to create buttons for response variables.
What is wrong with the variable name? And how can I fix it?
Comments
Python variables are not allowed to start with (most) special characters or numbers. Mostly, variables start with letters. Have a look at naming rules:
First hit on google:
https://thehelloworldprogram.com/python/python-variable-assignment-statements-rules-conventions-naming/
Eduard
Thanks a lot, Eduard. Problem solved.