How to increment variable names/Is this a bad idea [duplicate]

You should append all the values to a list, that allows you to easily iterate through the values later as well as not littering your namespace with useless variables and magic.

Leave a Comment