tuple get second element code example
Example: get second element of tuple python
#get nth element of a tupple in python
n = 1 # Whatever the value of N is. . .
print(x[n]) #were x is the tupple, for n = 1 you get the second element
#get nth element of a tupple in python
n = 1 # Whatever the value of N is. . .
print(x[n]) #were x is the tupple, for n = 1 you get the second element