get
keys
values
Returns a view of all keys in the dictionary.
dict.keys()
Enter values below to update the example in real time.
person
print
list
person = {"name": "Alice", "age": 30} print(list(person.keys())) # ['name', 'age']