Python Lists and Dictionaries 10/14


#1

FIrst off I was able to pass the lesson after looking at other posts regarding this particular problem but there is one thing I'm not understanding and I am hoping someone can explain to me.

Why does

print residents['Sloth']
print residents['Burmese Python']

work, but

print residents['Sloth', 'Burmese Python']

not work?


#2

It only accesses one key.