Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a python program named namesearch.py that reads from the input a number a list of 10 names. The program should then ask the user
Write a python program named namesearch.py that reads from the input a number a list of 10 names. The program should then ask the user to enter a name. The program should then count the number of times that name appears in the list. Your output should look like the following: Enter name 1: Duhai Enter name 2: Mohammed Enter name 3: Asad Enter name 4: Asad Enter name 5: Mohammed Enter name 6: Duhai Enter name 7: Mohammed Enter name 8: Asad Enter name 9: Mohammed Enter name 10: Mohammed Enter a target name: Mohan The name Mohamed appears 5
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started