I\'m dynamically creating a 2 dimensional associative array (dictionary?)
I\'m trying to loop through its keys - while keeping one of the indexes constant, so for instan
myhash['john'] is itself a dictionary. (You aren't creating a multi-dimensional dictionary, but rather a dictionary of dictionaries.)
myhash['john']
Thus...
last_names = list(myhash['john'])
or if you want to do something in a loop...
for last_name in myhash['john']: # do something with last_name