I'm trying to work out how to split a list and create variables with those parts, something like the below:
a_list = ["var1", "var2", "var3"]
for x in range(len(a_list)):
a_list.pop()
I'd like the variables created to be named as they are in a_list
and I won't know how many components are in a_list
or what they are named.
Is this possible? I've read quite a few similar questions on here but they don't come with all the requirements mine does.