Name

.keys()

Examples

element_names = {'H': 'hydrogen', 'He': 'helium', 'Li': 'lithium'}
element_keys = element_names.keys()
print(element_keys) # Prints ['Li', 'H', 'He']

Description
Syntax
	dict.keys()
Parameters
dict
Related Dictionary
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License