Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Systems Analysis And Synthesis Bridging Computer Science And Information Technology

Authors: Barry Dwyer

1st Edition

0128054492, 9780128054499

More Books

Students also viewed these Databases questions