Quote:What I'm trying to do is print out the Character held in 'onScreen' by for-looping through the dictionary in the make_grid() function. Of course this would be easy if it was a list, but... it's not!You can loop through a dictionary too
for k,v in list.items(): print(v['onScreen'])You also do not need to import future print on 2.7.10
and you should not overwrite "list" built-in
https://repl.it/X3G/4836
Recommended Tutorials: