Question: 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
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 nam 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
Answer Heres a Python program named namesearchpy that implements ... View full answer
Get step-by-step solutions from verified subject matter experts
