d = {1:1, 2:2, 3:3} d_keys_list = list(d.keys())
newlist = list() for i in newdict.keys(): newlist.append(i)
list(newdict.keys())