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 user

 Write a python program named namesearch.py that reads from the input

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!