Dictionary keys() method

In Python Dictionary keys() method is used to return a view object that displays a list of all the keys in the given dictionary.

Syntax:
There are no Parameters in dictionary keys() method.
Example:
#dictionary methods

STUDENT = {'Name': 'Phillip', 'age': 21}
print(STUDENT.keys())
empty_dict = {}
print(empty_dict.keys())