As noob in python I struggle with a multidimensional array I have this part
def listMembers(Members):
for name in Names:
age=Ages[name]
print (name,age)
Names = ["John","William","Sarah"]
Ages = [22,33,44]
Members=[Names,Ages]
listMembers(Members)
And expect as result:
John, 22
Willem, 33
Sarah, 44
What must i change to get this?