So I'm not sure how to describe this or google it. What i want is to use a variable to access another variable. I'm guessing the answer will be using a dictionary of sorts.
personPaul = [1,2]
personJoe = [3,4]
def myFunc(name):
return person + name
print myFunc("Paul")
print myFunc("Joe")
I want the output to be
[1,2]
[3,4]