my_dict = {"jhon":5,"tim":8,"mrBeast":104} index = 1 #element index we want key = list(my_dict.keys())[index] # finding key name using element index print(my_dict[key])