<prompt> Jina la simu John Doe, 123-456-7890, Jane Doe, 098-765-4321, Steve Smith, 111-111-111 Nambari ya simu 111-111-1111Kujenga algorithm ya kutafuta kwa ajili ya nambari fulani ya simu katika orodha ya majina na namba za simu.  <response>: Here is an algorithm in Python that can be used to search for a given phone number in a list of names and phone numbers:Pythondef search_phonename_phone_list, phone_number: result None for record in name_phone_list: if record1 phone_number: result record0 break return resultNamePhoneList John Doe, 123-456-7890, Jane Doe, 098-765-4321, Steve Smith, 111-111-1111PhoneNumber 111-111-1111result search_phoneNamePhoneList, PhoneNumberif result: printfPhone number PhoneNumber belongs to resultelse: printfPhone number PhoneNumber not found in list 