I have a tuple in python (\'A\',\'B\',\'C\',\'D\',\'E\'), how do I get which item is under a particular index number?
Example: Say it was given 0, it would return A
Same as any other language, just pass index number of element that you want to retrieve.
#!/usr/bin/env python x = [2,3,4,5,6,7] print(x[5])