Contact: aviboots(AT)netvision.net.il
39,870 questions
51,793 answers
573 users
lst = ['a', 'c', 'd', 'f', ('v', 'w'), 'g', 'h', 'k'] index = lst.index(('v', 'w')) print("The index of ('v', w) is: ", index) ''' run: The index of ('v', w) is: 4 '''