I'm writing code and I know that a key in a python dictionary can have multiple values, but how can I refer to the desired value by its index? I want to get all first values from all keys from dict. My dictionary:
ip = {'18992549780':[764890830,10000], '18992548863':[764890926,20000]}
But my solution throws an error:
print(ip.values().index[0])
AttributeError: 'dict_values' object has no attribute 'index'