Dictionaries in Python
As explained in the tutorial for dictionary Methods. The type for dictionary.keys() is not of type "list" but is of type "dict_keys". As explained in the tutorial it shows the type as list. Kindly check the attachment for more detail & Request you to do the changes for the same.