Question: what are keys in python?
Answer: Definition and Usage. The keys() method returns a view object. The view object contains the keys of the dictionary, as a list. The view object will reflect any changes done to the dictionary, see example below.