3/08/2022

python dict keys to list

 refer to example code

..

dictionary = {"a": 1, "b": 2, "c": 3}
key_iterable = dictionary.keys()
key_list = list(key_iterable)
print(key_list)

..



www.marearts.com

Thank you. πŸ™‡πŸ»‍♂️