I want to have something like
var1 = ('a','b','c')
var2 = ('a1','b1','c1')
var3 = ('a2','b2','c2')
var4 = ('a3','b4','c5')
var5 = ('a6','b6','c6')
How can i have all those in one variable var
I have a loop which will be saving each array but i want to have only one variable
You could also copy vari in a loop, but that’s very bad programming practice. Basically, you should construct a list upfront and not later from variable names. If you must do it, here’s how:
This is the longer form of: