how to return key from list of dictionary python code example Example: dict_keys to list list(newdict.keys())