list = ["PIG", "DOG", "CAT"]
Was wondering how can I iterrate through the list and assigned each item as a new variable? Ideally i would want to create these variables and initialize it inside a loop.
Expected outcome:
var1 = "PIG"
var2 = "CAT"
var3 = "DOG"