Solution:
In python list and tuple are just simple sequences. We can only access their items by counting. Anyway, items stored in a dictionary are accessed through keys and not by counting as their items have no particular order. You can use tuples as keys of a dict, but an index or a slice makes no sense for a dict, just as a key makes no sense for a list or a tuple.
>>> t = (1, 2, 3)
>>> i = 0
>>> t[i]
1
See the above sample code to know the way of accessing a tuple element. As I can understand you were trying to access an element from a tuple by using another tuple. See the program below to understand how to do it:
>>> t = (1, 2, 3)
>>> k = 0
>>> i = k,
>>> print(i)
(0,)
I hope I was able to make it understandable. Thanks.