Tupelindex in Python
# Creating a tuple using ()
t = (1, 2, 4, 5, 4, 1, 2,1 ,1)
print(t.index(5))
Coding boy Hasya
# Creating a tuple using ()
t = (1, 2, 4, 5, 4, 1, 2,1 ,1)
print(t.index(5))