Lista kluczowych Python
dict2 = {"item 1": 'a', "item 2": 'b', "item 3": 'c'}
print(dict2.keys())
# output =
# dict_keys(['item 1', 'item 2', 'item 3'])
Kodi4444
dict2 = {"item 1": 'a', "item 2": 'b', "item 3": 'c'}
print(dict2.keys())
# output =
# dict_keys(['item 1', 'item 2', 'item 3'])