2. "Luther Huff", "Hannah Anderson', "Emmett Gi11", "Clayton Wallace", "Tracy Mendez",
"Connie Reeves", "Jeanette Hansen", "Carole Fox", "Carmen Fowler", "Alex Diaz", "Rick
Waters", "Willis Warren", "Krista Ferguson", "Debra Russell', "El1is Christensen", "Freda
Johnston', "Janis Carpenter', "Rosemary Sherman", "Earnest Peters", "Kelly West", "Jorge
Caldwell', 'Moses Norris", "Erica Riley", "Ray Gordon", "Abel Poole', "Cary Boone', "Grant
Gomez", "Denise Chapman', "Vernon Moran', 'Ben Walker', "Francis Benson", "Andrea
Sullivan', "Wayne Rice", "Jamie Mason", "Jane Figueroa", "Pat Wade", "Rudy Bates", "Clyde
Harris', "Andre Mathis", "Carlton Oliver', "Merle Lee', 'Amber wright', "Russell Becker",
"Natalie Wheeler', "Maryann Miller", 'Lucia Byrd', "Jenny Zimmerman", "Kari Mccarthy",
"Jeannette Cain', "Ian Walsh", "Herman Martin', "Ginger Farmer', "Catherine Williamson',
'Lorena Henderson', "Molly Watkins", 'Sherman Ford', "Adam Gross", "Alfred Padi1la',
"Dwayne Gibson", "Shawn Ha11", "Anthony Rios', 'Kelly Thomas', "A1lan Owens", "Duane
Malone,", "Chris George', Dana Holt', "Muriel Santiago", "Shelley Osborne', "Clinton Ross',
'Kelley Parsons', "Sophia Lewis", "Sylvia Cooper", "Regina Aguilar', 'Sheila Castillo', "Sheri
Mcdonald', "Lynn Hodges", 'Patrick Medina', "Arlene Tate', "Minnie Weber', "Geneva Pena',
'Byron Collier', 'Veronica Higgins', "Leo Roy", "Nelson Lopez'] #These are my functions def
option_1 (): #Lookup by first name first_name_counter =0 first_name_begins_with = input
("InWhat letter does the first name begin with? ") first_name_begins_with =
first_name_begins_with. upper() Ln 1, Col 1
'Minnie Weber', 'Geneva Pena', 'Byron Collier', 'Veronica Higgins', 'Leo Roy', 'Nelson Lopez']
#These are my functions def option_1 (): #Lookup by first name first_name_counter =0
first_name_begins_with = input( 'nWhat letter does the first name begin with? ')
first_name_begins_with = first_name_begins_with.upper() print() for i in name_list: if
i.startswith(first_name_begins_with): print(i) first_name_counter +=1 if first_name_counter ==0
: print('No first names were found starting with the letter ' + first_name_begins_with. upper())
def option_2(): #Lookup by last name counter =0 last_name_begins_with = input ( 'InWhat
letter does the last name begin with? ") last_name_begins_with = last_name_begins_with.
upper() print() for i in name_list: name_split =i.split() if
name_split[1].startswith(last_name_begins_with): print(name_split [1]++ name_split []) counter
+=1 if counter ==0 : print ('No last names were found starting with the letter ' +
last_name_begins_with.upper()) def option_3(): #Add a name new_first_name = input ( 'InEnter
the new first name: ') new_last_name = input ('Enter the new last name: ') new_name =
new_first_name.title ()++ new_last_name.title () name_list. append (new_name) nuint 1.1n &
nomo 1ic+111. hac hoan ordad. 1
3. ile True: print( ease select from the following options: 1. List all first names beginning with a
chosen letter 2. List all last names beginning with a chosen letter 3. Add a name 4. Delete a name
5. Exit user_menu_choice = input ('Option#: ') if user_menu_choice == ' 1 ': option_1() continue
elif user_menu_choice == ' 2 ' : option_2() continue elif user_menu_choice ==3 : option_3()
continue elif user_menu_choice == ' 4 ' : option_4() continue elif user_menu_choice == ' 5 ' :
break else: print(" That is not a valid option. Please try again.") continue