Below is the dictionary set I have
dict = {'city':[('hyderabad','pune','chennai'),'state':[('Telangana','mumbai','tamilnadu')]}
I'm trying to remove the first two strings from the list in key value pair from this dictionary, so it will look the same as below
dict = {'city':[('chennai'),'state':[('tamilnadu')]}
I have tried:
for v in dict.values():
del v[0:1]
but this deletes the whole list instead of first two indexes, need help in deleting only the first two indexes of each value list in key value pair