I have a list of tuples that looks somewhat like this
global_list = [('Joe','Smith'),('Singh','Gurpreet'),('Dee','Johnson'),('Ahmad','Iqbal')..........]
I want to find index location in global_list of
- Tuples that have 'John' in them
- Tuples that have 'Richard' or 'Thomas' or 'Khan' in them
The tuple could be ('First Name','Last Name') or ('Last Name','First Name').
Thanks in advance