The .keys() method of a Python dictionary returns list of its keys. It takes no arguments.
.keys()
dictionary.keys()
The following example creates a dictionary then prints all of its keys:
Favicon IconArrow Chevron Left IconCodeOutputArrow Chevron Right IconLoading...Run