Exclua o primeiro elemento do dicionário Python
#Heres on INEFFICIENT way to do it:
dictionary = {'first': 0, 'second': 1, 'thrid': 2}
#THIS METHOD IS FOR THE SITUATION WHERE YOU DONT KNOW WHAT THE FIRST KEY IS CALLED!!!
list = [[item, dictionary[item]] for item in dictionary]
list.pop(0)
new_dictionary = {}
for item in list:
if item[0] not in new_dictionary:
dictionary[item[0]] = item[1]
#Hope this works
Victorious Vulture