0

I am trying to access a different list each time I iterate through this event-controlled loop. For example, the first iteration I want values appended to asign_1, and the second iteration I want values appended to asign_2. I tried doing this by creating a variable "i" and adding one to it when it is time to move on to the next list. I try to assign the address of "assign_i" to a variable called list (I know list is probably not a good variable name). The problem is, how can I use the string assign_i to set the address of the list I want, to my list variable.

Thanks :)

My code

I tried assigning an address of a list to a variable using a string. It did not work

Rieley
  • 1
  • 1
    use a dictionary (and post your code as text. no one is going to look at that image, and type everything out to try it to run it) – Paul H Dec 01 '22 at 00:31

0 Answers0