SlideShare a Scribd company logo
1 of 3
Download to read offline
covert to BASH
name_list =[ 'Constance Castillo', 'Kerry Goodwin', 'Dorothy Carson', 'Craig Williams', 'Daryl
Guzman', 'Sherman Stewart', 'Marvin Collier', 'Javier Wilkerson', 'Lena Olson', 'Claudia George',
'Erik Elliott', 'Traci Peters', 'Jack Burke', 'Jody Turner', 'Kristy Jenkins', 'Melissa Griffin', 'Shelia
Ballard', 'Armando Weaver', 'Elsie Fitzgerald', 'Ben Evans', 'Lucy Baker', 'Kerry Anderson',
'Kendra Tran', 'Arnold Wells', 'Anita Aguilar', 'Earnest Reeves', 'Irving Stone', 'Alice Moore',
'Leigh Parsons', 'Mandy Perez', 'Rolando Paul', 'Delores Pierce', 'Zachary Webster', 'Eddie Ward',
'Alvin Soto', 'Ross Welch', 'Tanya Padilla', 'Rachel Logan', 'Angelica Richards', 'Shelley Lucas',
'Alison Porter', 'Lionel Buchanan', 'Luis Norman', 'Milton Robinson', 'Ervin Bryant', 'Tabitha
Reid', 'Randal Graves', 'Calvin Murphy', 'Blanca Bell', 'Dean Walters', 'Elias Klein', 'Madeline
White', 'Marty Lewis', 'Beatrice Santiago', 'Willis Tucker', 'Diane Lloyd', 'Al Harrison', 'Barbara
Lawson', 'Jamie Page', 'Conrad Reynolds', 'Darnell Goodman', 'Derrick Mckenzie', 'Erika Miller.,
'Tasha Todd', 'Aaron Nunez', 'Julio Gomez', 'Tommie Hunter', 'Darlene Russell', 'Monica Abbott',
'Cassandra Vargas', 'Gail Obrien', 'Doug Morales', 'Ian James', 'Jean Moran', 'Carla Ross',
'Marjorie Hanson', 'Clark Sullivan', 'Rick Torres', 'Byron Hardy', 'Ken Chandler', 'Brendan Carr',
'Richard Francis', 'Tyler Mitchell', 'Edwin Stevens', 'Paul Santos', 'Jesus Griffith', 'Maggie
Maldonado', 'Isaac Allen', 'Vanessa Thompson', 'Jeremy Barton', 'Joey Butler', 'Randy Holmes',
'Loretta Pittman', 'Essie Johnston', 'Felix Weber', 'Gary Hawkins', 'Vivian Bowers', 'Dennis
Jefferson', 'Dale Arnold', 'Joseph Christensen', 'Billie Norton', 'Darla Pope', 'Tommie Dixon',
'Toby Beck', 'Jodi Payne', 'Marjorie Lowe', 'Fernando Ballard', 'Jesse Maldonado', 'Elsa Burke',
'Jeanne Vargas', 'Alton Francis', 'Donald Mitchell', 'Dianna Perry', 'Kristi Stephens', 'Virgil
Goodwin', 'Edmund Newton', 'Luther Huff', 'Hannah Anderson', 'Emmett Gill', 'Clayton Wallace',
'Tracy Mendez', 'Connie Reeves', 'Jeanette Hansen', 'Carole Fox', 'Carmen Fowler', 'Alex Diaz',
'Rick Waters', 'Willis Warren', 'Krista Ferguson', 'Debra Russell', 'Ellis Christensen'. 'Freda
Johnston'. 'Janis Carpenter'. 'Rosemarv Sherman'. Ln1,Col1
"Joey Butler", "Randy Holmes", "Loretta Pittman", "Essie Johnston", "Felix Weber", "Gary
Hawkins", "Vivian Bowers", "Dennis Jefferson", "Dale Amold", "Joseph Christensen", "Billie
Norton", "Darla Pope", "Tommie Dixon", "Toby Beck", "Jodi Payne", "Marjorie Lowe",
"Fernando Balland", "Jesse Maldonado", "Elsa Burke", "Jeanne Vargas", "Alton Francis",
"Donald Mitchel1', "Dianna Perry", "Kristi Stephens", "Virgil Goodwin", "Edmund Newton",
"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
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

More Related Content

More from info145003

Course CryptographyAnswer in C or C++create a program that can .pdf
Course CryptographyAnswer in C or C++create a program that can .pdfCourse CryptographyAnswer in C or C++create a program that can .pdf
Course CryptographyAnswer in C or C++create a program that can .pdf
info145003
 
Courtney, who is much older than she appears, founded Talbot, Inc., .pdf
Courtney, who is much older than she appears, founded Talbot, Inc., .pdfCourtney, who is much older than she appears, founded Talbot, Inc., .pdf
Courtney, who is much older than she appears, founded Talbot, Inc., .pdf
info145003
 

More from info145003 (9)

2. A study by the Information Technology department at WPU revealed .pdf
2. A study by the Information Technology department at WPU revealed .pdf2. A study by the Information Technology department at WPU revealed .pdf
2. A study by the Information Technology department at WPU revealed .pdf
 
2. Describe what is measured by the estimated standard error in the .pdf
2. Describe what is measured by the estimated standard error in the .pdf2. Describe what is measured by the estimated standard error in the .pdf
2. Describe what is measured by the estimated standard error in the .pdf
 
2. a- What is a Junk Bondb- What is a debentureSolution.pdf
2. a- What is a Junk Bondb- What is a debentureSolution.pdf2. a- What is a Junk Bondb- What is a debentureSolution.pdf
2. a- What is a Junk Bondb- What is a debentureSolution.pdf
 
2. A political party sends a mail survey to 1500 randomly selected r.pdf
2. A political party sends a mail survey to 1500 randomly selected r.pdf2. A political party sends a mail survey to 1500 randomly selected r.pdf
2. A political party sends a mail survey to 1500 randomly selected r.pdf
 
2. A media consulting company installs software on the set-top box.pdf
2. A media consulting company installs software on the set-top box.pdf2. A media consulting company installs software on the set-top box.pdf
2. A media consulting company installs software on the set-top box.pdf
 
Create 2 independent programs that perform communication using named.pdf
Create 2 independent programs that perform communication using named.pdfCreate 2 independent programs that perform communication using named.pdf
Create 2 independent programs that perform communication using named.pdf
 
CPU scheduling algorithms simulation with IO management using arriva.pdf
CPU scheduling algorithms simulation with IO management using arriva.pdfCPU scheduling algorithms simulation with IO management using arriva.pdf
CPU scheduling algorithms simulation with IO management using arriva.pdf
 
Course CryptographyAnswer in C or C++create a program that can .pdf
Course CryptographyAnswer in C or C++create a program that can .pdfCourse CryptographyAnswer in C or C++create a program that can .pdf
Course CryptographyAnswer in C or C++create a program that can .pdf
 
Courtney, who is much older than she appears, founded Talbot, Inc., .pdf
Courtney, who is much older than she appears, founded Talbot, Inc., .pdfCourtney, who is much older than she appears, founded Talbot, Inc., .pdf
Courtney, who is much older than she appears, founded Talbot, Inc., .pdf
 

Recently uploaded

Recently uploaded (20)

Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 

covert to BASH name_list =[ Constance Castillo, Kerry .pdf

  • 1. covert to BASH name_list =[ 'Constance Castillo', 'Kerry Goodwin', 'Dorothy Carson', 'Craig Williams', 'Daryl Guzman', 'Sherman Stewart', 'Marvin Collier', 'Javier Wilkerson', 'Lena Olson', 'Claudia George', 'Erik Elliott', 'Traci Peters', 'Jack Burke', 'Jody Turner', 'Kristy Jenkins', 'Melissa Griffin', 'Shelia Ballard', 'Armando Weaver', 'Elsie Fitzgerald', 'Ben Evans', 'Lucy Baker', 'Kerry Anderson', 'Kendra Tran', 'Arnold Wells', 'Anita Aguilar', 'Earnest Reeves', 'Irving Stone', 'Alice Moore', 'Leigh Parsons', 'Mandy Perez', 'Rolando Paul', 'Delores Pierce', 'Zachary Webster', 'Eddie Ward', 'Alvin Soto', 'Ross Welch', 'Tanya Padilla', 'Rachel Logan', 'Angelica Richards', 'Shelley Lucas', 'Alison Porter', 'Lionel Buchanan', 'Luis Norman', 'Milton Robinson', 'Ervin Bryant', 'Tabitha Reid', 'Randal Graves', 'Calvin Murphy', 'Blanca Bell', 'Dean Walters', 'Elias Klein', 'Madeline White', 'Marty Lewis', 'Beatrice Santiago', 'Willis Tucker', 'Diane Lloyd', 'Al Harrison', 'Barbara Lawson', 'Jamie Page', 'Conrad Reynolds', 'Darnell Goodman', 'Derrick Mckenzie', 'Erika Miller., 'Tasha Todd', 'Aaron Nunez', 'Julio Gomez', 'Tommie Hunter', 'Darlene Russell', 'Monica Abbott', 'Cassandra Vargas', 'Gail Obrien', 'Doug Morales', 'Ian James', 'Jean Moran', 'Carla Ross', 'Marjorie Hanson', 'Clark Sullivan', 'Rick Torres', 'Byron Hardy', 'Ken Chandler', 'Brendan Carr', 'Richard Francis', 'Tyler Mitchell', 'Edwin Stevens', 'Paul Santos', 'Jesus Griffith', 'Maggie Maldonado', 'Isaac Allen', 'Vanessa Thompson', 'Jeremy Barton', 'Joey Butler', 'Randy Holmes', 'Loretta Pittman', 'Essie Johnston', 'Felix Weber', 'Gary Hawkins', 'Vivian Bowers', 'Dennis Jefferson', 'Dale Arnold', 'Joseph Christensen', 'Billie Norton', 'Darla Pope', 'Tommie Dixon', 'Toby Beck', 'Jodi Payne', 'Marjorie Lowe', 'Fernando Ballard', 'Jesse Maldonado', 'Elsa Burke', 'Jeanne Vargas', 'Alton Francis', 'Donald Mitchell', 'Dianna Perry', 'Kristi Stephens', 'Virgil Goodwin', 'Edmund Newton', 'Luther Huff', 'Hannah Anderson', 'Emmett Gill', 'Clayton Wallace', 'Tracy Mendez', 'Connie Reeves', 'Jeanette Hansen', 'Carole Fox', 'Carmen Fowler', 'Alex Diaz', 'Rick Waters', 'Willis Warren', 'Krista Ferguson', 'Debra Russell', 'Ellis Christensen'. 'Freda Johnston'. 'Janis Carpenter'. 'Rosemarv Sherman'. Ln1,Col1 "Joey Butler", "Randy Holmes", "Loretta Pittman", "Essie Johnston", "Felix Weber", "Gary Hawkins", "Vivian Bowers", "Dennis Jefferson", "Dale Amold", "Joseph Christensen", "Billie Norton", "Darla Pope", "Tommie Dixon", "Toby Beck", "Jodi Payne", "Marjorie Lowe", "Fernando Balland", "Jesse Maldonado", "Elsa Burke", "Jeanne Vargas", "Alton Francis", "Donald Mitchel1', "Dianna Perry", "Kristi Stephens", "Virgil Goodwin", "Edmund Newton",
  • 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