Definition
The keys() method returns a view object containing the keys of the dictionary, as a list.
Syntax
dictionary.keys()
Parameters
No Parameters.
Examples:
person = {
"name": "Raymond",
"age": 29,
"country": "Japan"
}
j = person.keys()
print(j)