examples/dictionary/keys.py
from __future__ import print_function

user = {
   'fname': 'Foo',
   'lname': 'Bar',
}

print(user)   # {'lname': 'Bar', 'fname': 'Foo'}

print(user.keys())    # ['lname', 'fname']