i have a tuple of suspects those suspects exist in dictionary and in the dictionary i have a tuple value
i try to unpacking the values to varibles
suspects = (
{'name': 'Anne', 'evidences': ('derringer', 'Caesarea')},
{'name': 'Taotao', 'evidences': ('derringer', 'Petersen House')},
{'name': 'Pilpelet', 'evidences': ('Master Sword', 'Hyrule')},
)
for t in suspects:
for name, weapon,location in t.items():
there i got stacked. i try to run python tutor to see a feeback of my faults, but i can't understand how can i extract the specific value with unpacking solution
for examp solution: Name = Anne , Weapon = Derringer , Location = Caesarea