I am trying to define a series of variables in a quick way. eg:
variable_names=[a,b,c,d,e,f,g]
Python won't allow me to do that unless I define each element first. Is there a quick way to define all of them with none value so that I can assign values to those elements later? Because I want to use a for loop to assign values to elements in variable_names.
Moreover, it there a way I can create variables names according to a specific string?
For example: temp='01'
I want to have variable_names changes to [a01,b01,c01,d01,e01,f01,g01], the elements are all variables that can be assigned values not strings.
I will be really appreciated if anyone can help.