5 lines
100 B
Python
5 lines
100 B
Python
def keys_only(dict):
|
|
lst = []
|
|
for k, v in dict.items():
|
|
lst.append(k)
|
|
return lst |