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

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Recently uploaded (20)

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 

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