How do I pop character from a certain list and make it my variable name? For example:
list1=['a','b','h','j']
In this case, how do I remove 'a','b','h','j' from the list and make it a variable?
a=input("Enter a name")
b=input("Enter a name")
h=input("Enter a name")
j=input("Enter a name")
I have dynamically created the list in my project where the contents of the list are appended from some other action.