def dictkeys(dct):
    '\n        Returns a list of keys of dictionary\n\n        dict.keys returns a view that works like .keys in Python 2\n        *except* any modifications in the dictionary will be visible\n        (and will cause errors if the view is being iterated over while\n        it is modified).\n        '
    return list(dct.keys())
Returns a list of keys of dictionary

dict.keys returns a view that works like .keys in Python 2
*except* any modifications in the dictionary will be visible
(and will cause errors if the view is being iterated over while
it is modified).
def dictkeys(dct):
    '\n        Returns a list of keys of dictionary\n\n        dict.keys returns a view that works like .keys in Python 2\n        *except* any modifications in the dictionary will be visible\n        (and will cause errors if the view is being iterated over while\n        it is modified).\n        '
    return list(dct.keys())