I have a dictionary called one, and from it I extracted the first element of the dictionary by doing this:
first1 = one.items()
first = list(first1)[:1]
print(first)
But now I want to print only the second element of the dictionary. If I do this:
first1 = one.items()
first = list(first1)[:2]
print(first)
It prints out both the first element and the second element, but I want only the second one. How can I do this? Is there a special symbol that helps? If you know, please tell me. Thanks.