Słownik zdobądź wszystkie klucze
hh = {"a":3, "b":4, "c":5}
print(hh.keys())
# dict_keys(['a', 'b', 'c'])
print(list(hh.keys()))
# ['a', 'b', 'c']
Sore Sloth
hh = {"a":3, "b":4, "c":5}
print(hh.keys())
# dict_keys(['a', 'b', 'c'])
print(list(hh.keys()))
# ['a', 'b', 'c']
#python 3
for k,v in dict.items():
print(k, v)