user
Write a response that appropriately completes the request.

### Instruction:
Write an algorithm with pseudocode for searching through a list of numbers for a particular value.

### Response:
assistant
Algorithm SearchList (list, target_number): 

Set index = 0
Set found = False

While index < length of list and found = False:
    If list at index = target_number
        Set found = True
    Else
        Increment index
    
If found = True
    Print "Number was found at index " + index
Else
    Print "Number was not found"